fix: buy debt and role addition #536
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
tests: | |
strategy: | |
fail-fast: false | |
matrix: | |
tokens_to_test: [6, 8, 18, usdt] | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- uses: ApeWorX/github-action@v2.0 | |
with: | |
python-version: '3.10' | |
ape-version-pin: "==0.6.3" | |
ape-plugins-list: 'solidity==0.6.0 vyper==0.6.1 hardhat==0.6.0' | |
- name: install vyper | |
run: pip install git+https://github.com/vyperlang/vyper | |
- name: Compile contracts | |
# TODO: Force recompiles until ape compile caching is fixed | |
run: ape compile --force --size | |
# Needed to use hardhat | |
- name: Setup node.js | |
uses: actions/setup-node@v1 | |
with: | |
node-version: '14.x' | |
- name: Install hardhat | |
run: npm install hardhat | |
- name: output current installation | |
run: pip freeze | |
- name: Run tests | |
run: ape test -s | |
timeout-minutes: 15 | |
env: | |
TOKENS_TO_TEST: ${{ matrix.tokens_to_test }} |