Skip to content

Commit

Permalink
fix: Adjust coverage path
Browse files Browse the repository at this point in the history
  • Loading branch information
marksweb committed Dec 20, 2023
1 parent 503f1b5 commit 65e32d9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
5 changes: 0 additions & 5 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,6 @@ jobs:
# a pull request then we can checkout the head.
fetch-depth: 2

# If this run was triggered by a pull request event, then checkout
# the head of the pull request instead of the merge commit.
- run: git checkout HEAD^2
if: ${{ github.event_name == 'pull_request' }}

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: coverage-data-${{ matrix.python-version }}
path: '${{ github.workspace }}/.coverage.*'
path: '${{ github.workspace }}/.coverage*'

coverage:
name: Coverage
Expand All @@ -65,7 +65,7 @@ jobs:
pattern: coverage-data-*
merge-multiple: true

- name: Combine coverage and fail if it's <100%
- name: Combine coverage
run: |
python -m coverage combine
python -m coverage html --skip-covered --skip-empty
Expand Down

0 comments on commit 65e32d9

Please sign in to comment.