Skip to content

Commit 4b026bc

Browse files
codecov uploads specification
1 parent d418269 commit 4b026bc

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/ci-cd.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ on:
1111
permissions:
1212
contents: read
1313
packages: write
14+
id-token: write
1415

1516
jobs:
1617
test:
@@ -19,6 +20,8 @@ jobs:
1920

2021
steps:
2122
- uses: actions/checkout@v4
23+
with:
24+
fetch-depth: 0
2225

2326
- name: Set up Python 3.12
2427
uses: actions/setup-python@v3
@@ -41,10 +44,11 @@ jobs:
4144
python -m pytest tests/ -v --cov=src --cov-report=xml --cov-report=term-missing
4245
4346
- name: Upload coverage to Codecov
47+
if: always()
4448
uses: codecov/codecov-action@v4
4549
with:
4650
files: ./coverage.xml
47-
fail_ci_if_error: true
51+
fail_ci_if_error: false
4852
verbose: true
4953

5054
build-and-push:

0 commit comments

Comments
 (0)