Try fixing testing workflow

This commit is contained in:
Šarūnas Nejus 2024-06-15 09:15:46 +01:00
parent 54a8ef7a32
commit 49e6012398
No known key found for this signature in database
GPG key ID: DD28F6704DBE3435

View file

@ -39,18 +39,18 @@ jobs:
- name: Install Python dependencies
run: poetry install --only=main,test
- if: ${{ ! env.IS_MAIN_PYTHON }}
- if: ${{ env.IS_MAIN_PYTHON != 'true' }}
name: Test without coverage
run: poe test --no-cov
- if: ${{ env.IS_MAIN_PYTHON }}
- if: ${{ env.IS_MAIN_PYTHON == 'true' }}
name: Test with coverage
uses: liskin/gh-problem-matcher-wrap@v3
with:
linters: pytest
run: poe test
- if: ${{ env.IS_MAIN_PYTHON }}
- if: ${{ env.IS_MAIN_PYTHON == 'true' }}
name: Upload code coverage
continue-on-error: true
run: poetry run codecov