Skip to content

Commit

Permalink
chore: Fix for test coverage upload
Browse files Browse the repository at this point in the history
Signed-off-by: mrickard <maurice@mauricerickard.com>
  • Loading branch information
mrickard committed Mar 15, 2024
1 parent 4361a03 commit d80805f
Showing 1 changed file with 4 additions and 15 deletions.
19 changes: 4 additions & 15 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,22 +46,11 @@ jobs:
with:
name: unit-tests
path: ./coverage/lcov.info

codecov:
needs: [test]
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [lts/*]

steps:
- uses: actions/checkout@v3
- name: Download artifacts
uses: actions/download-artifact@v3
- name: Post Snapshot Test Coverage
- name: Upload Unit Test Coverage
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
directory: ./coverage
directory: ./coverage/
fail_ci_if_error: true
verbose: true
flags: unit-tests

0 comments on commit d80805f

Please sign in to comment.