change(feat/OPS-31): added token to ci.yml and ensurance that coverage.xml is created

This commit is contained in:
Amrasil 2025-03-26 22:55:21 +01:00
parent 278259940a
commit e073704a6b

View file

@ -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