Skip to content

Commit

Permalink
Make sure release script is tested on Ubuntu
Browse files Browse the repository at this point in the history
  • Loading branch information
snejus committed Jan 12, 2025
1 parent 64b3481 commit 5fc92c9
Showing 1 changed file with 12 additions and 9 deletions.
21 changes: 12 additions & 9 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
- name: Add pytest annotator
uses: liskin/gh-problem-matcher-wrap@v3
with:
linters: pytest
action: add

- if: ${{ env.IS_MAIN_PYTHON != 'true' }}
name: Test without coverage
run: poe test
run: |
poetry install --extras=autobpm
poe test
- if: ${{ env.IS_MAIN_PYTHON == 'true' }}
name: Test with coverage
uses: liskin/gh-problem-matcher-wrap@v3
with:
linters: pytest
run: poe 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
Expand Down

0 comments on commit 5fc92c9

Please sign in to comment.