Skip to content

Commit

Permalink
SM-16 #comment add coverage test
Browse files Browse the repository at this point in the history
  • Loading branch information
Nick95550 committed Oct 5, 2023
1 parent 76ae075 commit 86aa0f7
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,3 +48,20 @@ jobs:

- name: prepare outputs
run: npx ts-node scripts/parse_artifacts.ts

test-coverage:
needs: test-node
runs-on: ubuntu-latest

steps:
- name: restore cache
uses: actions/cache@v3
with:
path: ./
key: repo-${{hashFiles('./')}}

- name: test contracts
uses: yarn coverage

- name: check coverage
uses: npx istanbul check-coverage --statements 100 --functions 100 --lines 100

0 comments on commit 86aa0f7

Please sign in to comment.