Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Comment on lines +65 to +68
Comment on lines +67 to +68
- name: 🚀 Run pytest
run: pytest tests --no-cov

coverage:
runs-on: ubuntu-latest
needs: pytest
Expand Down
Loading