Skip to content

Commit 4f4f6a6

Browse files
committed
2 parents f625a8a + 33dd012 commit 4f4f6a6

File tree

2 files changed

+19
-31
lines changed

2 files changed

+19
-31
lines changed

.github/workflows/main.yml

Lines changed: 16 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -36,61 +36,47 @@ jobs:
3636
platform: ubuntu-latest
3737
- python: "3.10"
3838
platform: ubuntu-latest
39-
- python: pypy3.9
39+
- python: pypy3.10
4040
platform: ubuntu-latest
4141
runs-on: ${{ matrix.platform }}
42-
continue-on-error: ${{ matrix.python == '3.12' }}
42+
continue-on-error: ${{ matrix.python == '3.13' }}
4343
steps:
44-
- uses: actions/checkout@v3
44+
- uses: actions/checkout@v4
4545
- name: Setup Python
4646
uses: actions/setup-python@v4
4747
with:
4848
python-version: ${{ matrix.python }}
4949
allow-prereleases: true
5050
- name: Install tox
51-
run: |
52-
python -m pip install tox
51+
run: python -m pip install tox
5352
- name: Run
5453
run: tox
5554

56-
diffcov:
55+
collateral:
56+
strategy:
57+
fail-fast: false
58+
matrix:
59+
job: [diffcov, docs]
5760
runs-on: ubuntu-latest
5861
steps:
59-
- uses: actions/checkout@v3
62+
- uses: actions/checkout@v4
6063
with:
6164
fetch-depth: 0
6265
- name: Setup Python
6366
uses: actions/setup-python@v4
6467
with:
6568
python-version: 3.x
6669
- name: Install tox
67-
run: |
68-
python -m pip install tox
69-
- name: Evaluate coverage
70-
run: tox
71-
env:
72-
TOXENV: diffcov
73-
74-
docs:
75-
runs-on: ubuntu-latest
76-
env:
77-
TOXENV: docs
78-
steps:
79-
- uses: actions/checkout@v3
80-
- name: Setup Python
81-
uses: actions/setup-python@v4
82-
- name: Install tox
83-
run: |
84-
python -m pip install tox
85-
- name: Run
86-
run: tox
70+
run: python -m pip install tox
71+
- name: Eval ${{ matrix.job }}
72+
run: tox -e ${{ matrix.job }}
8773

8874
check: # This job does nothing and is only used for the branch protection
8975
if: always()
9076

9177
needs:
9278
- test
93-
- docs
79+
- collateral
9480

9581
runs-on: ubuntu-latest
9682

@@ -109,14 +95,13 @@ jobs:
10995
runs-on: ubuntu-latest
11096

11197
steps:
112-
- uses: actions/checkout@v3
98+
- uses: actions/checkout@v4
11399
- name: Setup Python
114100
uses: actions/setup-python@v4
115101
with:
116102
python-version: 3.x
117103
- name: Install tox
118-
run: |
119-
python -m pip install tox
104+
run: python -m pip install tox
120105
- name: Run
121106
run: tox -e release
122107
env:

pytest.ini

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,7 @@ filterwarnings=
2424
# pypa/build#615
2525
ignore:'encoding' argument not specified::build.env
2626

27+
# dateutil/dateutil#1284
28+
ignore:datetime.datetime.utcfromtimestamp:DeprecationWarning:dateutil.tz.tz
29+
2730
## end upstream

0 commit comments

Comments
 (0)