Skip to content

Commit

Permalink
Fix conversion of coverage data to xml
Browse files Browse the repository at this point in the history
Followup to #82
  • Loading branch information
goerz committed Jan 9, 2021
1 parent 5e3aa4c commit a39dfcc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,13 +114,13 @@ jobs:
run: ${{ matrix.commands }}

- name: Convert coverage data to xml
if: matrix.coverage == 'true'
if: matrix.coverage == true
shell: bash
run: |
runenv=$(echo "${{ matrix.python }}" | sed 's/\([2-3]\)\.\([0-9]\)/py\1\2-runcmd/')
$tox -e $runenv -- python -m coverage xml
- uses: codecov/codecov-action@v1
if: ${{ matrix.coverage }} == true
if: matrix.coverage == true
with:
verbose: false

0 comments on commit a39dfcc

Please sign in to comment.