Skip to content

Commit

Permalink
Tests job updated in Workflow (safe-global#836)
Browse files Browse the repository at this point in the history
Previously we only checked coverage using `npm run coverage` which I
believe only checked `hardhat test --network hardhat`, thus not checking
the rest of the types of test based on L1, L2 and ZK. This adds another
job in the CI which checks for the same.
  • Loading branch information
remedcu authored Sep 27, 2024
1 parent 73b1778 commit 0796a37
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,18 @@ jobs:
- run: npm run lint:ts

tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ env.NODE_VERSION }}
cache: "npm"
- run: npm ci
- run: npm run build
- run: npm run test

coverage:
runs-on: ubuntu-latest
strategy:
fail-fast: false
Expand Down

0 comments on commit 0796a37

Please sign in to comment.