ci(build): upload coverage
All checks were successful
build / build (push) Successful in 2m40s

This commit is contained in:
张泊明518370910136 2025-03-06 15:34:21 -05:00
parent 0b8671f48f
commit a7b8bf8c12
GPG Key ID: D47306D7062CDA9D

View File

@ -26,9 +26,14 @@ jobs:
- name: Lint
run: |
pdm run lint
- name: Test
- name: Test with Coverage
run: |
pdm run test
pdm run coverage
- name: Upload Coverage to Codacy
env:
CODACY_PROJECT_TOKEN: ${{ secrets.CODACY_PROJECT_TOKEN }}
run: |
bash <(curl -Ls https://coverage.codacy.com/get.sh) report -r coverage.xml
- name: Run
run: |
pdm run app --help