Skip to content

Commit 49ebbf5

Browse files
committed
ci: upload coverage to Codecov
1 parent 39484dd commit 49ebbf5

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,13 @@ jobs:
2626
- name: Install dependencies
2727
run: pnpm install
2828

29-
- name: Run tests
30-
run: pnpm test --run
29+
- name: Run tests with coverage
30+
run: pnpm test:coverage --run
31+
32+
- name: Upload coverage reports to Codecov
33+
uses: codecov/codecov-action@v5
34+
with:
35+
token: ${{ secrets.CODECOV_TOKEN }}
3136

3237
- name: Initialize local database
3338
run: pnpm db:init:local

0 commit comments

Comments
 (0)