Skip to content

Commit

Permalink
Rename coverage files to not have a . at the beginning
Browse files Browse the repository at this point in the history
This way they won't be considered hidden files by the upload-artifacts
action.
  • Loading branch information
amstilp committed Sep 3, 2024
1 parent dd6d56c commit 3f04ec3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ jobs:
- name: Run tests
run: |
pytest --cov=gregor_django -n auto
mv .coverage .coverage-${{ strategy.job-index }}
mv .coverage coverage-${{ strategy.job-index }}
- name: List files for debugging purposes
run: ls -lhta
Expand All @@ -102,7 +102,7 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: coverage-data-${{ strategy.job-index }}
path: .coverage-${{ strategy.job-index }}
path: coverage-${{ strategy.job-index }}
if-no-files-found: error

coverage:
Expand Down Expand Up @@ -130,7 +130,7 @@ jobs:

- name: Merge coverage files
run: |
python -m coverage combine ./artifacts/coverage-data*/.coverage-*
python -m coverage combine ./artifacts/coverage-data*/coverage-*
python -m coverage xml
ls -la .coverage*
Expand Down

0 comments on commit 3f04ec3

Please sign in to comment.