Skip to content

Commit 0780a69

Browse files
committed
Fix failing CI
1 parent ae5c270 commit 0780a69

File tree

3 files changed

+12
-5
lines changed

3 files changed

+12
-5
lines changed

.github/workflows/packaging.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
run: python -m build
3131
- name: Run twine check
3232
run: twine check dist/*
33-
- uses: actions/upload-artifact@v3
33+
- uses: actions/upload-artifact@v4
3434
with:
3535
name: tox-gh-actions-dist
3636
path: dist

.github/workflows/tests.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ jobs:
1818
- macos-latest # macos-14 (M1)
1919
- windows-latest # windows-2022
2020
python-version: [3.7, 3.8, 3.9, '3.10', 3.11, 3.12, 3.13, pypy-3.7, pypy-3.8, pypy-3.9, pypy-3.10]
21+
include:
22+
- platform: ubuntu-22.04
23+
python-version: 3.7
2124
exclude:
2225
# Exclude the following configuration to avoid an error.
2326
# Error: The version '...' with architecture 'arm64' was not found for macOS 14.4.1.
@@ -26,6 +29,10 @@ jobs:
2629
python-version: 3.7
2730
- platform: macos-latest
2831
python-version: pypy-3.7
32+
- platform: ubuntu-latest
33+
python-version: 3.7
34+
- platform: windows-latest
35+
python-version: pypy-3.9
2936

3037
steps:
3138
- uses: actions/checkout@v3
@@ -50,7 +57,7 @@ jobs:
5057
run: tox
5158
- name: Upload coverage.xml
5259
if: ${{ matrix.platform == 'ubuntu-latest' && matrix.python-version == '3.13' }}
53-
uses: actions/upload-artifact@v3
60+
uses: actions/upload-artifact@v4
5461
with:
5562
name: tox-gh-actions-coverage
5663
path: coverage.xml

setup.cfg

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,9 @@ testing =
6262
# but flake8 5.x requires an older version of it.
6363
flake8 >=6, <7; python_version>='3.8'
6464
mypy; platform_python_implementation=='CPython'
65-
pytest >=7, <8
66-
pytest-cov >=3, <4
67-
pytest-mock >=3, <4
65+
pytest >=7
66+
pytest-cov >=4
67+
pytest-mock >=3
6868
pytest-randomly >=3
6969

7070
[options.package_data]

0 commit comments

Comments
 (0)