Skip to content

Commit

Permalink
chore: update jest workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Keyrxng committed Aug 14, 2024
1 parent 4e825e3 commit d1dbfd4
Showing 1 changed file with 25 additions and 1 deletion.
26 changes: 25 additions & 1 deletion .github/workflows/jest-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,32 @@ jobs:
with:
fetch-depth: 0

- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
with:
version: nightly

- name: Install dependencies
run: yarn install

- name: Build
run: yarn build

- name: Start Anvil
run: yarn test:anvil &

- name: Wait for Anvil
run: |
for i in {1..30}
do
if curl -s http://localhost:8545; then
break
fi
sleep 1
done || exit 1
- name: Jest With Coverage
run: yarn install --immutable --immutable-cache --check-cache && yarn test
run: yarn test

- name: Add Jest Report to Summary
if: always()
Expand Down

0 comments on commit d1dbfd4

Please sign in to comment.