Skip to content

Commit

Permalink
Merge pull request #137 from interlay/codecov
Browse files Browse the repository at this point in the history
chore: update code coverage to use Codecov
  • Loading branch information
bvotteler authored Aug 3, 2023
2 parents b861f73 + 5de5cec commit 4a8ef15
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions .github/workflows/coverage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,15 @@ on:

jobs:
coverage:
runs-on: ubuntu-latest
runs-on: [self-hosted, linux]
steps:
- uses: actions/checkout@v3
- uses: ArtiomTr/jest-coverage-report-action@v2
with:
package-manager: yarn
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Run code coverage
run: |
yarn
yarn test --coverage
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

0 comments on commit 4a8ef15

Please sign in to comment.