feat: migrate to ape and add features #109
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 | |
- develop | |
pull_request: | |
concurrency: | |
# Cancel older, in-progress jobs from the same PR, same workflow. | |
# use run_id if the job is triggered by a push to ensure | |
# push-triggered jobs to not get canceled. | |
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | |
cancel-in-progress: true | |
jobs: | |
functional: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: foundry-rs/foundry-toolchain@v1 | |
- uses: ApeWorX/[email protected] | |
with: | |
python-version: "3.11.4" | |
ape-plugins-list: "." | |
- run: ape compile --size | |
- run: ape networks list | |
- run: ape test tests/functional/ --gas --coverage | |
integration: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: foundry-rs/foundry-toolchain@v1 | |
- uses: ApeWorX/[email protected] | |
with: | |
python-version: "3.11.4" | |
ape-plugins-list: "." | |
- run: ape compile --size | |
- run: ape networks list | |
- run: ape test tests/integration/ -s |