Terminus migration #68
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: Garden of Forking Paths system tests | |
on: | |
pull_request: | |
paths: | |
- "contracts/mechanics/garden-of-forking-paths/**" | |
- "contracts/mock/**" | |
- "cli/web3cli/test_gofp.py" | |
- "cli/web3cli/GOFPFacet.py" | |
- "cli/web3cli/Mock*.py" | |
- "cli/web3cli/Diamond*" | |
- "cli/web3cli/OwnershipFacet.py" | |
- ".github/workflows/gofp.yml" | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: "16" | |
- uses: actions/setup-python@v2 | |
with: | |
python-version: "3.9" | |
- name: Install ganache | |
run: npm install -g ganache-cli | |
- name: Upgrade pip | |
env: | |
BROWNIE_LIB: 1 | |
run: pip install -U pip | |
- name: Install additional dev dependencies | |
run: | | |
pip install black moonworm | |
- name: Install dependencies for CLI | |
working-directory: cli/ | |
env: | |
BROWNIE_LIB: 1 | |
run: | | |
pip install -e . | |
- name: Run tests | |
working-directory: cli/ | |
run: bash test.sh web3cli.test_gofp |