Skip to content

Commit

Permalink
fix: use log-level fix from ape (#99)
Browse files Browse the repository at this point in the history
* fix: use fix from ape

* chore: empty

* chore: empty

* chore: remove branch pin

* fix: ignore errors if no artifact exists

---------

Co-authored-by: El De-dog-lo <[email protected]>
  • Loading branch information
antazoey and fubuloubu authored Sep 6, 2024
1 parent 74b991c commit 3c88b3d
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,13 @@ jobs:
- uses: ApeWorX/github-action@v3
- run: ape compile --force --size
# Upload ape build files for testing
- uses: actions/upload-artifact@v3

- uses: actions/upload-artifact@v4
with:
name: ape-build-folder
path: .build/**/*.json
path: .build/
overwrite: true # Always write it
if-no-files-found: error # Do not proceed unless build is cached
include-hidden-files: true # Because it's a "hidden" folder

py-test:
needs: build
Expand All @@ -50,15 +52,14 @@ jobs:
- uses: actions/checkout@v4
- uses: foundry-rs/foundry-toolchain@v1
- uses: ApeWorX/github-action@v3
# Ape build artifacts used for testing
- uses: actions/download-artifact@v3
# Ape-built artifacts used for testing
- uses: actions/download-artifact@v4
with:
name: ape-build-folder
path: .build/
# TODO: Until `ApeWorX/github-action` supports poetry install
- run: pip install .
# `-v warning` because of a bug in Ape
- run: ape -v warning test -s
- run: ape test -s

js-test:
needs: build
Expand All @@ -68,8 +69,8 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
# Ape build artifacts used for testing
- uses: actions/download-artifact@v3
# Ape-built artifacts used for testing
- uses: actions/download-artifact@v4
with:
name: ape-build-folder
path: .build/
Expand Down

0 comments on commit 3c88b3d

Please sign in to comment.