8000 [repo-helper] Configuration Update (#21) · python-formate/snippet-fmt@2eb2a97 · GitHub
[go: up one dir, main page]

Skip to content

Commit 2eb2a97

Browse files
[repo-helper] Configuration Update (#21)
* 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 a0dc2f1 commit 2eb2a97

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
@@ -62,14 +62,14 @@ jobs:
6262
python -VV
6363
python -m site
6464
python -m pip install --upgrade pip setuptools wheel
65-
python -m pip install --upgrade tox virtualenv!=20.16.0
65+
python -m pip install --upgrade tox~=3.0 virtualenv!=20.16.0
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 }}"

.github/workflows/python_ci_linux.yml

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

7373
- name: "Upload Coverage 🚀"
74-
uses: actions/upload-artifact@v2
74+
uses: actions/upload-artifact@v3
7575
if: ${{ always() && steps.setup-python.outcome == 'success' }}
7676
with:
7777
name: "coverage-${{ matrix.config.python-version }}"
@@ -96,7 +96,7 @@ jobs:
9696
python -m pip install --upgrade "coveralls>=3.0.0" coverage_pyver_pragma
9797
9898
- name: "Download Coverage 🪂"
99-
uses: actions/download-artifact@v2
99+
uses: actions/download-artifact@v3
100100
with:
101101
path: coverage
102102

@@ -114,7 +114,7 @@ jobs:
114114
115115
- name: "Upload Combined Coverage Artefact 🚀"
116116
if: ${{ steps.show.outcome != 'failure' }}
117-
uses: actions/upload-artifact@v2
117+
uses: actions/upload-artifact@v3
118118
with:
119119
name: "combined-coverage"
120120
path: .coverage
@@ -145,7 +145,7 @@ jobs:
145145
if: startsWith(github.ref, 'refs/tags/')
146146
run: |
147147
python -m pip install --upgrade pip setuptools wheel
148-
python -m pip install --upgrade tox
148+
python -m pip install --upgrade tox~=3.0
149149
150150
- name: Build distributions 📦
151151
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
@@ -62,14 +62,14 @@ jobs:
6262
python -VV
6363
python -m site
6464
python -m pip install --upgrade pip setuptools wheel
65-
python -m pip install --upgrade tox virtualenv!=20.16.0
65+
python -m pip install --upgrade tox~=3.0 virtualenv!=20.16.0
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 }}"

tox.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ isolated_build = True
3131
requires =
3232
pip>=21,!=22.2
3333
tox-envlist>=0.2.1
34+
tox~=3.0
3435
virtualenv!=20.16.0
3536

3637
[envlists]

0 commit comments

Comments
 (0)
0