Make sure release script is tested on Ubuntu

This commit is contained in:
Šarūnas Nejus 2025-01-12 05:12:29 +00:00
parent 64b3481235
commit 5fc92c98da
No known key found for this signature in database
GPG key ID: DD28F6704DBE3435

View file

@ -34,22 +34,25 @@ jobs:
run: |
sudo apt update
sudo apt install ffmpeg gobject-introspection libgirepository1.0-dev pandoc
poetry install --with=release --extras=docs --extras=replaygain --extras=reflink
poe docs
- name: Install Python dependencies
run: poetry install --only=main,test --extras=autobpm
- if: ${{ env.IS_MAIN_PYTHON != 'true' }}
name: Test without coverage
run: poe test
- if: ${{ env.IS_MAIN_PYTHON == 'true' }}
name: Test with coverage
- name: Add pytest annotator
uses: liskin/gh-problem-matcher-wrap@v3
with:
linters: pytest
run: poe test-with-coverage
action: add
- if: ${{ env.IS_MAIN_PYTHON != 'true' }}
name: Test without coverage
run: |
poetry install --extras=autobpm
poe test
- if: ${{ env.IS_MAIN_PYTHON == 'true' }}
name: Test with coverage
run: |
poetry install --extras=autobpm --extras=docs --extras=replaygain --extras=reflink
poe docs
poe test-with-coverage
- if: ${{ env.IS_MAIN_PYTHON == 'true' }}
name: Store the coverage report