mirror of
https://github.com/senju1337/senju.git
synced 2025-12-24 07:39:29 +00:00
change(feat/OPS-31): added token to ci.yml and ensurance that coverage.xml is created
This commit is contained in:
parent
278259940a
commit
e073704a6b
1 changed files with 4 additions and 1 deletions
5
.github/workflows/ci.yml
vendored
5
.github/workflows/ci.yml
vendored
|
|
@ -26,8 +26,11 @@ jobs:
|
||||||
- name: Run tests with coverage
|
- name: Run tests with coverage
|
||||||
run: poetry run coverage run -m pytest
|
run: poetry run coverage run -m pytest
|
||||||
|
|
||||||
|
- name: Generate Coverage Report # Ensure creation of coverage.xml
|
||||||
|
run: poetry run coverage xml
|
||||||
|
|
||||||
- name: Upload coverage to Codecov
|
- name: Upload coverage to Codecov
|
||||||
uses: codecov/codecov-action@v3
|
uses: codecov/codecov-action@v3
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.CODECOV_TOKEN }}
|
token: ${{RELEASE_PLEASE_TOKEN}}
|
||||||
file: ./coverage.xml
|
file: ./coverage.xml
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue