mirror of
https://github.com/beetbox/beets.git
synced 2026-01-10 09:58:45 +01:00
Make sure release script is tested on Ubuntu
This commit is contained in:
parent
64b3481235
commit
5fc92c98da
1 changed files with 15 additions and 12 deletions
27
.github/workflows/ci.yaml
vendored
27
.github/workflows/ci.yaml
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue