Skip to content

Commit

Permalink
Update coverage (#1027)
Browse files Browse the repository at this point in the history
Signed-off-by: Aaron Chong <aaronchong@google.com>
  • Loading branch information
aaronchongth authored Nov 18, 2024
1 parent 7ec14b9 commit dd4d953
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/api-server.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ jobs:
pnpm run test:cov -v
../../.venv/bin/python -m coverage xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
uses: codecov/codecov-action@v4
with:
flags: api-server
fail_ci_if_error: true
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
5 changes: 4 additions & 1 deletion .github/workflows/rmf-dashboard-framework.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ jobs:
- name: unit test
run: pnpm run test:coverage
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
uses: codecov/codecov-action@v4
with:
flags: rmf-dashboard-framework
fail_ci_if_error: true
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
6 changes: 1 addition & 5 deletions codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,7 @@ coverage:
flags:
dashboard:
paths:
- packages/dashboard
carryforward: true
react-components:
paths:
- packages/react-components
- packages/rmf-dashboard-framework
carryforward: true
api-server:
paths:
Expand Down

0 comments on commit dd4d953

Please sign in to comment.