Skip to content

Commit

Permalink
ci: check ci issue
Browse files Browse the repository at this point in the history
  • Loading branch information
milkyklim committed Aug 26, 2023
1 parent 7c6e38b commit afaadcb
Showing 1 changed file with 62 additions and 10 deletions.
72 changes: 62 additions & 10 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ concurrency:
cancel-in-progress: true

jobs:
tests:
functional:
runs-on: ubuntu-latest

steps:
Expand All @@ -25,17 +25,69 @@ jobs:
- uses: ApeWorX/github-action@v2
with:
python-version: "3.11.4"
- run: |
pip install git+https://github.com/apeworx/ape.git@main
pip install git+https://github.com/apeworx/ethpm-types.git@main
pip install git+https://github.com/antazoey/ape-vyper.git@feat/dev-message-fixes
- run: ape compile --size
- run: ape test tests/functional/ --gas --coverage

integration:
runs-on: ubuntu-latest

- name: version overrides
run: |
steps:
- uses: actions/checkout@v3
- uses: foundry-rs/foundry-toolchain@v1
- uses: ApeWorX/github-action@v2
with:
python-version: "3.11.4"
- run: |
pip install git+https://github.com/apeworx/ape.git@main
pip install git+https://github.com/apeworx/ethpm-types.git@main
pip install git+https://github.com/apeworx/ape-foundry.git@main
pip install git+https://github.com/antazoey/ape-vyper.git@feat/dev-message-fixes
- run: ape compile --size
- run: ape test tests/integration/ -s



# name: Test

# on:
# push:
# branches:
# - master
# - develop
# - level-up
# 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:
# tests:
# runs-on: ubuntu-latest

# steps:
# - uses: actions/checkout@v3
# - uses: foundry-rs/foundry-toolchain@v1
# - uses: ApeWorX/github-action@v2
# with:
# python-version: "3.11.4"

# - name: version overrides
# run: |
# pip install git+https://github.com/apeworx/ape.git@main
# pip install git+https://github.com/apeworx/ethpm-types.git@main
# # pip install git+https://github.com/apeworx/ape-foundry.git@main
# pip install git+https://github.com/antazoey/ape-vyper.git@feat/dev-message-fixes

- name: compile
run: ape compile --size
- name: functional
run: ape test tests/functional/ --gas --coverage
- name: integration
run: ape test tests/integration/ -s
# - name: compile
# run: ape compile --size
# - name: functional
# run: ape test tests/functional/ --gas --coverage
# - name: integration
# run: ape test tests/integration/ -s

0 comments on commit afaadcb

Please sign in to comment.