Skip to content

Commit

Permalink
ci: compute coverage from packages and upload them to codecov
Browse files Browse the repository at this point in the history
  • Loading branch information
Falinor committed Dec 11, 2024
1 parent 9e38d05 commit d7524ee
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,10 +76,28 @@ jobs:
LOG_LEVEL: fatal
REACT_APP_API_URL: http://localhost:3001

- name: Upload coverage reports to Codecov
- name: Upload frontend coverage reports to Codecov
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
disable_search: true
files: ./frontend/coverage/coverage-final.json
flags: frontend

- name: Upload packages coverage reports to Codecov
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
directory: packages
flags: packages

- name: Upload packages coverage reports to Codecov
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
disable_search: true
files: ./server/coverage/coverage-final.json
flags: server

- name: Test database migrations
run: yarn workspace @zerologementvacant/server run test:migrations --run-in-band
Expand Down

0 comments on commit d7524ee

Please sign in to comment.