Skip to content

Commit

Permalink
wip codecov
Browse files Browse the repository at this point in the history
  • Loading branch information
serut authored Aug 1, 2024
1 parent ea8c53c commit 4382ce9
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,13 +65,16 @@ jobs:
npm install -g coveralls codecov.io codacy-coverage
npm ci
- name: Run tests
run: |
npm run test
sed 's/packages\/meteor-coverage\///' someapp/.coverage/lcov.info | codacy-coverage || true # ignore codacy error
sed 's/packages\/meteor-coverage\///' someapp/.coverage/lcov.info | codecov || true # ignore codecov error
sed 's/packages\/meteor-coverage\///' someapp/.coverage/lcov.info | codacy-coverage || true # ignore codacy error
env:
CODACY_PROJECT_TOKEN: ${{ secrets.CODACY_PROJECT_TOKEN }}
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

- name: Codecov
uses: codecov/[email protected]
with:
# Repository Codecov token. Used to authorize report uploads
token: ${{ secrets.CODECOV_TOKEN }}
file: someapp/.coverage/lcov.info

0 comments on commit 4382ce9

Please sign in to comment.