Skip to content

Commit 7259700

Browse files
committed
Fix GH-actions not upoading hidden files
1 parent e2fc56a commit 7259700

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/ci-cd.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,13 @@ jobs:
2222
- name: Test with pytest and coverage
2323
run: |
2424
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
31+
path: coverage-db
3132

3233
Test:
3334
runs-on: ubuntu-latest
@@ -47,12 +48,13 @@ jobs:
4748
- name: Test with pytest and coverage
4849
run: |
4950
pytest --rootdir=. --cov=./cert_chain_resolver --cov-report term-missing -n auto tests/
51+
mv .coverage coverage-db
5052
- name: Upload coverage artifact
5153
if: success()
5254
uses: actions/upload-artifact@v4
5355
with:
5456
name: coverage-${{ matrix.python-version }}
55-
path: .coverage
57+
path: coverage-db
5658

5759
combine-coverage:
5860
runs-on: ubuntu-latest
@@ -75,7 +77,7 @@ jobs:
7577
- name: Combine coverage reports
7678
run: |
7779
set -x
78-
coverage combine coverage-*/.coverage
80+
coverage combine coverage-*/coverage-db
7981
coverage report
8082
coverage xml -o ./coverage.xml
8183

0 commit comments

Comments
 (0)