Skip to content

Commit

Permalink
chore: Added 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 c51fb96 commit 4361a03
Showing 1 changed file with 20 additions and 1 deletion.
21 changes: 20 additions & 1 deletion .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,5 +44,24 @@ jobs:
- name: Archive Unit Test Coverage
uses: actions/upload-artifact@v3
with:
name: snapshot-tests
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
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
directory: ./coverage
flags: unit-tests

0 comments on commit 4361a03

Please sign in to comment.