Skip to content

Commit 4d6c3a3

Browse files
committed
Rename file
1 parent b2d8afc commit 4d6c3a3

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

.github/workflows/ci-cd.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,14 @@ jobs:
2121
python -m pip install -r requirements_dev.txt
2222
- name: Test with pytest and coverage
2323
run: |
24-
pytest --rootdir=. --cov=./cert_chain_resolver --cov-report term-missing --cov-report=xml:coverage.xml -n auto tests/
24+
pytest --rootdir=. --cov=./cert_chain_resolver --cov-report term-missing -n auto tests/
25+
mv .coverage coverage-db
2526
- name: Upload coverage artifact
2627
if: success()
2728
uses: actions/upload-artifact@v4
2829
with:
2930
name: coverage-2.7
30-
path: coverage.xml
31+
path: coverage-db
3132

3233
Test:
3334
runs-on: ubuntu-latest
@@ -46,14 +47,14 @@ jobs:
4647
python -m pip install -r requirements_dev.txt
4748
- name: Test with pytest and coverage
4849
run: |
49-
pytest --rootdir=. --cov=./cert_chain_resolver --cov-report term-missing --cov-report=xml:coverage.xml -n auto tests/
50-
ls -lash .coverage
50+
pytest --rootdir=. --cov=./cert_chain_resolver --cov-report term-missing -n auto tests/
51+
mv .coverage coverage-db
5152
- name: Upload coverage artifact
5253
if: success()
5354
uses: actions/upload-artifact@v4
5455
with:
5556
name: coverage-${{ matrix.python-version }}
56-
path: coverage.xml
57+
path: coverage-db
5758

5859
combine-coverage:
5960
runs-on: ubuntu-latest
@@ -76,7 +77,7 @@ jobs:
7677
- name: Combine coverage reports
7778
run: |
7879
set -x
79-
coverage combine coverage-*/coverage.xml
80+
coverage combine coverage-*/coverage-db
8081
coverage report
8182
coverage xml -o ./coverage.xml
8283

0 commit comments

Comments
 (0)