Skip to content

Commit

Permalink
Use tox-gh-actions
Browse files Browse the repository at this point in the history
  • Loading branch information
nnsnodnb committed Aug 9, 2024
1 parent ed0ba64 commit f73f439
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,12 @@ jobs:
with:
python-version: ${{ matrix.python-version }}

- name: Install poetry & tox-gh
- name: Install poetry & tox-gh-actions
run: |
pip install -U pip pipx
pipx install poetry
pipx install tox
pip install tox-gh
pip install tox-gh-actions
- name: Configure poetry
uses: actions/setup-python@v5
Expand Down
7 changes: 2 additions & 5 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
[tox]
envlist =
py39-httpx{23,24,25,26,27}-cryptography{40,41,42}
py310-httpx{23,24,25,26,27}-cryptography{40,41,42}
py311-httpx{23,24,25,26,27}-cryptography{40,41,42}
py312-httpx{23,24,25,26,27}-cryptography{40,41,42}
py{39,310,311,312}-httpx{23,24,25,26,27}-cryptography{40,41,42}

[testenv]
allowlist_externals =
Expand All @@ -26,7 +23,7 @@ commands =
poetry install --sync --no-root
poetry run python -m pytest -v tests

[gh]
[gh-actions]
python =
3.9 = py39
3.10 = py310
Expand Down

0 comments on commit f73f439

Please sign in to comment.