diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index ffc0dde0..f5d7c18e 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -48,6 +48,27 @@ jobs: include-hidden-files: true path: .coverage + pytest-min-deps: + name: Python ${{ env.DEFAULT_PYTHON }} (minimum dependencies) + runs-on: ubuntu-latest + steps: + - name: โคต๏ธ Check out code from GitHub + uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + with: + persist-credentials: false + - name: ๐Ÿ— Set up Python ${{ env.DEFAULT_PYTHON }} + uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0 + with: + python-version: ${{ env.DEFAULT_PYTHON }} + - name: ๐Ÿ— Install uv + run: pipx install uv + - name: ๐Ÿ— Install package (minimum dependency versions) + run: uv pip install --system --resolution=lowest-direct -e ".[cli]" + - name: ๐Ÿ— Install test dependencies + run: uv pip install --system aioresponses pytest pytest-asyncio pytest-cov syrupy + - name: ๐Ÿš€ Run pytest + run: pytest tests --no-cov + coverage: runs-on: ubuntu-latest needs: pytest