Skip to content

Commit

Permalink
Fix display only once
Browse files Browse the repository at this point in the history
  • Loading branch information
adyanth committed Oct 18, 2024
1 parent c469c69 commit c26fc64
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ permissions:

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
build:
test:
runs-on: ubuntu-latest
strategy:
matrix:
Expand All @@ -24,7 +24,7 @@ jobs:
python-version: ${{ matrix.python-version }}
cache: 'pip'
- name: Display Python version
run: python -c "import sys; print(sys.version)"
run: echo ${{ matrix.python-version }} && python -c "import sys; print(sys.version)"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
Expand All @@ -33,6 +33,7 @@ jobs:
run: python -m pytest --junitxml=pytest.xml --cov=main --cov-report=xml:coverage.xml | tee pytest-coverage.txt
- name: Pytest coverage comment
uses: MishaKav/pytest-coverage-comment@main
if: ${{ matrix.python-version }} == "3.13"
with:
pytest-coverage-path: ./pytest-coverage.txt
pytest-xml-coverage-path: ./coverage.xml
Expand Down

0 comments on commit c26fc64

Please sign in to comment.