Skip to content

Commit

Permalink
fix warning on coverage if clause
Browse files Browse the repository at this point in the history
  • Loading branch information
c0state committed Sep 5, 2024
1 parent a18ca6c commit 85b0b12
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,12 @@ jobs:
python-version: ${{ env.COVERAGE_PYTHON_VERSION }}

- name: "Generate code coverage"
if: "contains(env.COVERAGE_PYTHON_VERSION, matrix.python-version)"
if: "${{ env.COVERAGE_PYTHON_VERSION == matrix.python-version }}"
run: |
set -xe
python -m coverage xml
- name: "Upload coverage"
if: "contains(env.COVERAGE_PYTHON_VERSION, matrix.python-version)"
if: "${{ env.COVERAGE_PYTHON_VERSION == matrix.python-version }}"
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
uses: "codecov/codecov-action@v4"
Expand Down

0 comments on commit 85b0b12

Please sign in to comment.