mirror of
https://github.com/beetbox/beets.git
synced 2026-02-16 20:35:23 +01:00
Try fixing testing workflow
This commit is contained in:
parent
54a8ef7a32
commit
49e6012398
1 changed files with 3 additions and 3 deletions
6
.github/workflows/ci.yaml
vendored
6
.github/workflows/ci.yaml
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue