Skip to content

Commit 2672774

Browse files
[repo-helper] Configuration Update (#33)
* Updated files with 'repo_helper'. * Updated files with 'repo_helper'. Co-authored-by: repo-helper[bot] <74742576+repo-helper[bot]@users.noreply.github.com>
1 parent 17bfa0f commit 2672774

File tree

6 files changed

+12
-11
lines changed

6 files changed

+12
-11
lines changed

.github/workflows/flake8.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
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'

.github/workflows/mypy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
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'

.github/workflows/python_ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,14 +67,14 @@ jobs:
6767
python -VV
6868
python -m site
6969
python -m pip install --upgrade pip setuptools wheel
70-
python -m pip install --upgrade tox virtualenv!=20.16.0
70+
python -m pip install --upgrade tox~=3.0 virtualenv!=20.16.0
7171
7272
- name: "Run Tests for Python ${{ matrix.config.python-version }}"
7373
if: steps.setup-python.outcome == 'success'
7474
run: python -m tox -e "${{ matrix.config.testenvs }}" -s false
7575

7676
- name: "Upload Coverage 🚀"
77-
uses: actions/upload-artifact@v2
77+
uses: actions/upload-artifact@v3
7878
if: ${{ always() && steps.setup-python.outcome == 'success' }}
7979
with:
8080
name: "coverage-${{ matrix.config.python-version }}"

.github/workflows/python_ci_linux.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -68,15 +68,15 @@ jobs:
6868
python -VV
6969
python -m site
7070
python -m pip install --upgrade pip setuptools wheel
71-
python -m pip install --upgrade tox virtualenv!=20.16.0
71+
python -m pip install --upgrade tox~=3.0 virtualenv!=20.16.0
7272
python -m pip install --upgrade coverage_pyver_pragma
7373
7474
- name: "Run Tests for Python ${{ matrix.config.python-version }}"
7575
if: steps.setup-python.outcome == 'success'
7676
run: python -m tox -e "${{ matrix.config.testenvs }}" -s false
7777

7878
- name: "Upload Coverage 🚀"
79-
uses: actions/upload-artifact@v2
79+
uses: actions/upload-artifact@v3
8080
if: ${{ always() && steps.setup-python.outcome == 'success' }}
8181
with:
8282
name: "coverage-${{ matrix.config.python-version }}"
@@ -101,7 +101,7 @@ jobs:
101101
python -m pip install --upgrade "coveralls>=3.0.0" coverage_pyver_pragma
102102
103103
- name: "Download Coverage 🪂"
104-
uses: actions/download-artifact@v2
104+
uses: actions/download-artifact@v3
105105
with:
106106
path: coverage
107107

@@ -119,7 +119,7 @@ jobs:
119119
120120
- name: "Upload Combined Coverage Artefact 🚀"
121121
if: ${{ steps.show.outcome != 'failure' }}
122-
uses: actions/upload-artifact@v2
122+
uses: actions/upload-artifact@v3
123123
with:
124124
name: "combined-coverage"
125125
path: .coverage
@@ -150,7 +150,7 @@ jobs:
150150
if: startsWith(github.ref, 'refs/tags/')
151151
run: |
152152
python -m pip install --upgrade pip setuptools wheel
153-
python -m pip install --upgrade tox
153+
python -m pip install --upgrade tox~=3.0
154154
155155
- name: Build distributions 📦
156156
if: startsWith(github.ref, 'refs/tags/')

.github/workflows/python_ci_macos.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,14 +66,14 @@ jobs:
6666
python -VV
6767
python -m site
6868
python -m pip install --upgrade pip setuptools wheel
69-
python -m pip install --upgrade tox virtualenv!=20.16.0
69+
python -m pip install --upgrade tox~=3.0 virtualenv!=20.16.0
7070
7171
- name: "Run Tests for Python ${{ matrix.config.python-version }}"
7272
if: steps.setup-python.outcome == 'success'
7373
run: python -m tox -e "${{ matrix.config.testenvs }}" -s false
7474

7575
- name: "Upload Coverage 🚀"
76-
uses: actions/upload-artifact@v2
76+
uses: actions/upload-artifact@v3
7777
if: ${{ always() && steps.setup-python.outcome == 'success' }}
7878
with:
7979
name: "coverage-${{ matrix.config.python-version }}"

tox.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ isolated_build = True
3535
requires =
3636
pip>=21,!=22.2
3737
tox-envlist>=0.2.1
38+
tox~=3.0
3839
virtualenv!=20.16.0
3940

4041
[envlists]

0 commit comments

Comments
 (0)