Skip to content

Commit

Permalink
Fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
janheinrichmerker committed Aug 8, 2023
1 parent e01b1f4 commit 8497597
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ jobs:
distribution: temurin
java-version: 11
- name: "🔍 Lint Python code"
run: pylint -E ir_axioms.backend.${{ matrix.backend }} tests.integration.${{ matrix.backend }} ${{ matrix.backend == 'pyterrier' && 'ir_axioms.cli' }}
run: pylint -E ir_axioms.backend.${{ matrix.backend }} tests.integration.${{ matrix.backend }} ${{ matrix.backend == 'pyterrier' && 'ir_axioms.cli' || '' }}
unit-tests:
name: "🧪 Python unit tests"
needs:
Expand Down Expand Up @@ -225,7 +225,7 @@ jobs:
distribution: temurin
java-version: 11
- name: "🧪 Test Python code"
run: pytest --cov=./ --cov-report=xml tests/integration/${{ matrix.backend }}/ ${{ matrix.backend == 'pyterrier' && 'ir_axioms/cli.py' }}
run: pytest --cov=./ --cov-report=xml tests/integration/${{ matrix.backend }}/ ${{ matrix.backend == 'pyterrier' && 'ir_axioms/cli.py' || '' }}
- name: "📤 Upload coverage to Codecov"
uses: codecov/codecov-action@v2
if: matrix.python == '3.9' && matrix.os == 'ubuntu-latest'
Expand Down

0 comments on commit 8497597

Please sign in to comment.