Skip to content
This repository has been archived by the owner on Sep 12, 2023. It is now read-only.

Commit

Permalink
ci: pin tox version
Browse files Browse the repository at this point in the history
  • Loading branch information
peterschutt committed Jan 16, 2023
1 parent 2539816 commit 045c40c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
with:
python-version: ${{env.PYTHON_LATEST}}
- name: Install Dependencies
run: python -m pip install --upgrade wheel tox
run: python -m pip install --upgrade wheel tox==4.2.8
- run: python -m tox -e pylint
mypy:
name: mypy
Expand All @@ -55,7 +55,7 @@ jobs:
with:
python-version: ${{env.PYTHON_LATEST}}
- name: Install Dependencies
run: python -m pip install --upgrade wheel tox
run: python -m pip install --upgrade wheel tox==4.2.8
- run: python -m tox -e mypy
pyright:
name: pyright
Expand All @@ -77,7 +77,7 @@ jobs:
with:
python-version: ${{env.PYTHON_LATEST}}
- name: Install Dependencies
run: python -m pip install --upgrade wheel tox
run: python -m pip install --upgrade wheel tox==4.2.8
- run: python -m tox -e pyright
tests:
name: tests on ${{matrix.python-version}}
Expand Down Expand Up @@ -107,7 +107,7 @@ jobs:
with:
python-version: ${{matrix.python-version}}
- name: Install Dependencies
run: python -m pip install --upgrade wheel tox tox-gh-actions
run: python -m pip install --upgrade wheel tox==4.2.8 tox-gh-actions
- run: python -m tox
- name: Upload Coverage Data
uses: actions/upload-artifact@83fd05a356d7e2593de66fc9913b3002723633cb # @v3.1.1
Expand All @@ -132,7 +132,7 @@ jobs:
- uses: actions/setup-python@5ccb29d8773c3f3f653e1705f474dfaa8a06a912 #v4.4.0
with:
python-version: ${{env.PYTHON_LATEST}}
- run: python -m pip install --upgrade wheel tox
- run: python -m pip install --upgrade wheel tox==4.2.8
- name: Download coverage data
uses: actions/download-artifact@9782bd6a9848b53b110e712e20e42d89988822b7 # @v3.0.1
with:
Expand Down
3 changes: 1 addition & 2 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[gh-actions]
python =
3.10: py310
3.11: py311,integration
3.11: py311,pytest-plugin,integration

[tox]
envlist = pylint,mypy,pyright,py310,py311,pytest-plugin,integration,coverage
Expand All @@ -15,7 +15,6 @@ commands =
coverage run -p -m pytest {posargs}

[testenv:pytest-plugin]
basepython = python3.11
commands = coverage run -p -m pytest tests/pytest_plugin {posargs}

[testenv:coverage]
Expand Down

0 comments on commit 045c40c

Please sign in to comment.