mirror of
https://github.com/beetbox/beets.git
synced 2026-03-26 15:24:05 +01:00
CI: install discogs extra so discogs tests run; remove skip logic
This commit is contained in:
parent
da32d64599
commit
59b636ac8c
2 changed files with 2 additions and 10 deletions
4
.github/workflows/ci.yaml
vendored
4
.github/workflows/ci.yaml
vendored
|
|
@ -72,7 +72,7 @@ jobs:
|
|||
- if: ${{ env.IS_MAIN_PYTHON != 'true' }}
|
||||
name: Test without coverage
|
||||
run: |
|
||||
poetry install --without=lint --extras=autobpm --extras=lyrics --extras=replaygain --extras=reflink --extras=fetchart --extras=chroma --extras=sonosupdate
|
||||
poetry install --without=lint --extras=autobpm --extras=discogs --extras=lyrics --extras=replaygain --extras=reflink --extras=fetchart --extras=chroma --extras=sonosupdate
|
||||
poe test
|
||||
|
||||
- if: ${{ env.IS_MAIN_PYTHON == 'true' }}
|
||||
|
|
@ -80,7 +80,7 @@ jobs:
|
|||
env:
|
||||
LYRICS_UPDATED: ${{ steps.lyrics-update.outputs.any_changed }}
|
||||
run: |
|
||||
poetry install --extras=autobpm --extras=lyrics --extras=docs --extras=replaygain --extras=reflink --extras=fetchart --extras=chroma --extras=sonosupdate
|
||||
poetry install --extras=autobpm --extras=discogs --extras=lyrics --extras=docs --extras=replaygain --extras=reflink --extras=fetchart --extras=chroma --extras=sonosupdate
|
||||
poe docs
|
||||
poe test-with-coverage
|
||||
|
||||
|
|
|
|||
|
|
@ -18,14 +18,6 @@ from unittest.mock import Mock, patch
|
|||
|
||||
import pytest
|
||||
|
||||
try:
|
||||
import discogs_client # noqa: F401
|
||||
except ImportError:
|
||||
pytest.skip(
|
||||
"discogs optional dependency not installed",
|
||||
allow_module_level=True,
|
||||
)
|
||||
|
||||
from beets import config
|
||||
from beets.library import Item
|
||||
from beets.test._common import Bag
|
||||
|
|
|
|||
Loading…
Reference in a new issue