From 5fc92c98dac3d1c51acfd87b7055eccb17df69f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=A0ar=C5=ABnas=20Nejus?= Date: Sun, 12 Jan 2025 05:12:29 +0000 Subject: [PATCH] Make sure release script is tested on Ubuntu --- .github/workflows/ci.yaml | 27 +++++++++++++++------------ 1 file changed, 15 insertions(+), 12 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 2ed4548ce..28bd9abe0 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -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