Skip to content

Commit

Permalink
Third-party tests: cattrs has switched to pdm (#209)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexWaygood authored and JelleZijlstra committed Jun 1, 2023
1 parent b0be88c commit b8a2ece
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/third_party.yml
Original file line number Diff line number Diff line change
Expand Up @@ -281,16 +281,18 @@ jobs:
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install poetry for cattrs
run: pip install poetry
- name: Install pdm for cattrs
run: pip install pdm
- name: Add latest typing-extensions as a dependency
run: poetry add ./typing-extensions-latest
run: |
pdm remove typing-extensions
pdm add --dev ./typing-extensions-latest
- name: Install cattrs test dependencies
run: poetry install -v --all-extras
run: pdm install --dev -G :all
- name: List all installed dependencies
run: poetry show
run: pdm list -vv
- name: Run cattrs tests
run: poetry run pytest tests
run: pdm run pytest tests

create-issue-on-failure:
name: Create an issue if daily tests failed
Expand Down

0 comments on commit b8a2ece

Please sign in to comment.