Skip to content

Commit dd4d953

Browse files
authored
Update coverage (#1027)
Signed-off-by: Aaron Chong <aaronchong@google.com>
1 parent 7ec14b9 commit dd4d953

File tree

3 files changed

+9
-7
lines changed

3 files changed

+9
-7
lines changed

.github/workflows/api-server.yml

+4-1
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,9 @@ jobs:
3939
pnpm run test:cov -v
4040
../../.venv/bin/python -m coverage xml
4141
- name: Upload coverage to Codecov
42-
uses: codecov/codecov-action@v1
42+
uses: codecov/codecov-action@v4
4343
with:
4444
flags: api-server
45+
fail_ci_if_error: true
46+
env:
47+
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

.github/workflows/rmf-dashboard-framework.yml

+4-1
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,9 @@ jobs:
3939
- name: unit test
4040
run: pnpm run test:coverage
4141
- name: Upload coverage to Codecov
42-
uses: codecov/codecov-action@v1
42+
uses: codecov/codecov-action@v4
4343
with:
4444
flags: rmf-dashboard-framework
45+
fail_ci_if_error: true
46+
env:
47+
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

codecov.yml

+1-5
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,7 @@ coverage:
55
flags:
66
dashboard:
77
paths:
8-
- packages/dashboard
9-
carryforward: true
10-
react-components:
11-
paths:
12-
- packages/react-components
8+
- packages/rmf-dashboard-framework
139
carryforward: true
1410
api-server:
1511
paths:

0 commit comments

Comments
 (0)