diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 9ee2515..e7a6ee9 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -23,7 +23,7 @@ jobs: fail-fast: false matrix: os: ["ubuntu-latest"] - python-version: ["3.8", "3.12"] + python-version: ["3.8", "3.11", "3.12"] env: OS: ${{ matrix.os }} @@ -53,7 +53,14 @@ jobs: pip install "setuptools>=64" --upgrade # Install package in editable mode. - pip install --use-pep517 --prefer-binary --editable=.[service,develop,docs,test] + pip install --use-pep517 --prefer-binary --editable=.[develop,test] + + - name: Setup "service" extra + if: matrix.python-version != '3.8' && matrix.python-version != '3.9' && matrix.python-version != '3.10' + run: | + + # Install package in editable mode. + pip install --use-pep517 --prefer-binary --editable=.[service] - name: Run linter and software tests run: | diff --git a/tests/test_service.py b/tests/test_service.py index 9cd5612..37aab14 100644 --- a/tests/test_service.py +++ b/tests/test_service.py @@ -1,5 +1,9 @@ import uuid +import pytest + +pytest.importorskip("responder") + def test_index(api): r = api.requests.get("/")