This repository was archived by the owner on Apr 20, 2023. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4343 python -VV
4444 python -m site
4545 python -m pip install --upgrade pip setuptools wheel
46- python -m pip install tox
46+ python -m pip install tox~=3.0
4747
4848 - name : " Run Flake8"
4949 if : steps.changes.outputs.code == 'true'
Original file line number Diff line number Diff line change 4747 python -VV
4848 python -m site
4949 python -m pip install --upgrade pip setuptools wheel
50- python -m pip install --upgrade tox virtualenv!=20.16.0
50+ python -m pip install --upgrade tox~=3.0 virtualenv!=20.16.0
5151
5252 - name : " Run mypy"
5353 if : steps.changes.outputs.code == 'true'
Original file line number Diff line number Diff line change @@ -61,15 +61,15 @@ jobs:
6161 python -VV
6262 python -m site
6363 python -m pip install --upgrade pip setuptools wheel
64- python -m pip install --upgrade tox virtualenv!=20.16.0
64+ python -m pip install --upgrade tox~=3.0 virtualenv!=20.16.0
6565 python -m pip install --upgrade coverage_pyver_pragma
6666
6767 - name : " Run Tests for Python ${{ matrix.config.python-version }}"
6868 if : steps.setup-python.outcome == 'success'
6969 run : python -m tox -e "${{ matrix.config.testenvs }}" -s false
7070
7171 - name : " Upload Coverage 🚀"
72- uses : actions/upload-artifact@v2
72+ uses : actions/upload-artifact@v3
7373 if : ${{ always() && steps.setup-python.outcome == 'success' }}
7474 with :
7575 name : " coverage-${{ matrix.config.python-version }}"
9494 python -m pip install --upgrade "coveralls>=3.0.0" coverage_pyver_pragma
9595
9696 - name : " Download Coverage 🪂"
97- uses : actions/download-artifact@v2
97+ uses : actions/download-artifact@v3
9898 with :
9999 path : coverage
100100
@@ -112,7 +112,7 @@ jobs:
112112
113113 - name : " Upload Combined Coverage Artefact 🚀"
114114 if : ${{ steps.show.outcome != 'failure' }}
115- uses : actions/upload-artifact@v2
115+ uses : actions/upload-artifact@v3
116116 with :
117117 name : " combined-coverage"
118118 path : .coverage
Original file line number Diff line number Diff line change 5454 - id : flake2lint
5555
5656 - repo : https://github.com/pre-commit/pygrep-hooks
57- rev : v1.9 .0
57+ rev : v1.10 .0
5858 hooks :
5959 - id : python-no-eval
6060 - id : rst-backticks
7070 - --keep-runtime-typing
7171
7272 - repo : https://github.com/Lucas-C/pre-commit-hooks
73- rev : v1.3 .1
73+ rev : v1.5 .1
7474 hooks :
7575 - id : remove-crlf
7676 - id : forbid-crlf
8787 exclude : ^(doc-source/conf|__pkginfo__|setup)\.(_)?py$
8888
8989 - repo : https://github.com/domdfcoding/dep_checker
90- rev : v0.7.0
90+ rev : v0.7.1
9191 hooks :
9292 - id : dep_checker
9393 args :
Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ tox-minversions
6363 :target: https://github.com/python-coincidence/tox-minversions/commit/master
6464 :alt: GitHub last commit
6565
66- .. |maintained | image :: https://img.shields.io/maintenance/yes/2022
66+ .. |maintained | image :: https://img.shields.io/maintenance/yes/2023
6767 :alt: Maintenance
6868
6969.. end shields
Original file line number Diff line number Diff line change 33# * tox
44# * envlists
55# * testenv
6+ # * testenv:.package
7+ # * testenv:py312-dev
68# * testenv:docs
79# * testenv:build
810# * testenv:lint
@@ -22,6 +24,7 @@ isolated_build = True
2224requires =
2325 pip>=21,!=22.2
2426 tox-envlist>=0.2.1
27+ tox~=3.0
2528 virtualenv!=20.16.0
2629
2730[envlists]
@@ -39,7 +42,15 @@ commands =
3942 python --version
4043 python -m pytest --cov =tox_minversions -r aR tests/ {posargs}
4144
45+ [testenv:.package]
46+ setenv =
47+ PYTHONDEVMODE =1
48+ PIP_DISABLE_PIP_VERSION_CHECK =1
49+
4250[testenv:build]
51+ setenv =
52+ PYTHONDEVMODE =1
53+ PIP_DISABLE_PIP_VERSION_CHECK =1
4354skip_install = True
4455changedir = {toxinidir}
4556deps =
You can’t perform that action at this time.
0 commit comments