Skip to content

Commit

Permalink
Merge pull request #1324 from ProjectOpenSea/ryanio-patch-1
Browse files Browse the repository at this point in the history
fix contract offerers ci job
  • Loading branch information
0age committed Apr 16, 2024
2 parents 20b84b9 + 7aa0776 commit 2ff6ea3
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,12 @@ jobs:
- name: Install forge dependencies
run: forge install

- name: Precompile reference using 0.8.24 and via-ir=false
run: FOUNDRY_PROFILE=reference forge build

- name: Precompile optimized using 0.8.24 and via-ir=true
run: FOUNDRY_PROFILE=optimized forge build

- name: Run tests
run: FOUNDRY_PROFILE=offerers forge test -vvv

Expand Down Expand Up @@ -234,4 +240,4 @@ jobs:
- uses: codecov/codecov-action@v3
with:
files: ./coverage/lcov.info
flags: reference
flags: reference
5 changes: 1 addition & 4 deletions foundry.toml
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,7 @@ optimizer = false
test = 'test/foundry/new'

[profile.offerers]
src='offerers'
test='offerers'
out = 'offerers-out'
script = 'offerers'
test='test/foundry/offerers'

[fmt]
line_length = 80
Expand Down

0 comments on commit 2ff6ea3

Please sign in to comment.