Skip to content

Commit

Permalink
Enable test coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
friederbluemle committed Sep 21, 2021
1 parent 406e6e7 commit af985d9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ jobs:
- uses: actions/setup-node@v2
- run: yarn --frozen-lockfile
- run: yarn build
- if: github.event.repository.fork == false
- run: yarn test --coverage
- if: github.event.repository.fork == false && github.event_name != 'pull_request'
run: yarn dv-scripts ci
env:
CI: true
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
- uses: codecov/codecov-action@v2
4 changes: 4 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@
"extends": "dv-scripts"
},
"jest": {
"coveragePathIgnorePatterns": [
"ReactNativeFastImageExample*",
"ReactNativeFastImageExampleServer*"
],
"modulePathIgnorePatterns": [
"ReactNativeFastImageExample*",
"ReactNativeFastImageExampleServer*"
Expand Down

0 comments on commit af985d9

Please sign in to comment.