Skip to content

Commit

Permalink
ci: simplify $FOUNDRY_FUZZ_SEED definition
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulRBerg committed Feb 19, 2023
1 parent 7e5b74b commit 35567f1
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -200,10 +200,8 @@ jobs:
path: "optimized-out"

- name: "Generate fuzz seed that changes weekly to avoid burning through RPC allowance"
run: >
echo "FOUNDRY_FUZZ_SEED=$(
echo $(($EPOCHSECONDS - $EPOCHSECONDS % 604800))
)" >> $GITHUB_ENV
run: |
echo "FOUNDRY_FUZZ_SEED=$(echo $(($EPOCHSECONDS / 604800)))" >> $GITHUB_ENV
- name: "Run the end-to-end tests against the optimized build"
run: "FOUNDRY_PROFILE=test-optimized forge test --match-path \"test/e2e/**/*.sol\""
Expand Down

0 comments on commit 35567f1

Please sign in to comment.