Skip to content

Commit

Permalink
Fix coverage workflow (#1074)
Browse files Browse the repository at this point in the history
  • Loading branch information
adamchainz authored Mar 14, 2024
1 parent 80de65f commit 13f42ab
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,17 @@ jobs:
- name: Run tox targets for ${{ matrix.python-version }}
run: tox run -f py$(echo ${{ matrix.python-version }} | tr -d .)

- name: Format database identifier
run: |
DB=${{ matrix.database }}
echo "db_id=${DB//:/-}"
echo "db_id=${DB//:/-}" >> "$GITHUB_OUTPUT"
id: format_db_id

- name: Upload coverage data
uses: actions/upload-artifact@v4
with:
name: coverage-data-${{ matrix.python-version }}
name: coverage-data-${{ matrix.python-version }}-${{ steps.format_db_id.outputs.db_id }}
path: '${{ github.workspace }}/.coverage.*'

coverage:
Expand Down

0 comments on commit 13f42ab

Please sign in to comment.