Skip to content

Commit aba9dec

Browse files
committed
# Conflicts: # .github/workflows/main.yml
2 parents 82c3444 + 33dd012 commit aba9dec

3 files changed

Lines changed: 22 additions & 32 deletions

File tree

.github/workflows/main.yml

Lines changed: 16 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -37,61 +37,47 @@ jobs:
3737
- python: "3.10"
3838
platform: ubuntu-latest
3939
# disabled (https://github.com/jaraco/cssutils/issues/39)
40-
# - python: pypy3.9
40+
# - python: pypy3.10
4141
# platform: ubuntu-latest
4242
runs-on: ${{ matrix.platform }}
43-
continue-on-error: ${{ matrix.python == '3.12' }}
43+
continue-on-error: ${{ matrix.python == '3.13' }}
4444
steps:
45-
- uses: actions/checkout@v3
45+
- uses: actions/checkout@v4
4646
- name: Setup Python
4747
uses: actions/setup-python@v4
4848
with:
4949
python-version: ${{ matrix.python }}
5050
allow-prereleases: true
5151
- name: Install tox
52-
run: |
53-
python -m pip install tox
52+
run: python -m pip install tox
5453
- name: Run
5554
run: tox
5655

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

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

9278
needs:
9379
- test
94-
- docs
80+
- collateral
9581

9682
runs-on: ubuntu-latest
9783

@@ -110,14 +96,13 @@ jobs:
11096
runs-on: ubuntu-latest
11197

11298
steps:
113-
- uses: actions/checkout@v3
99+
- uses: actions/checkout@v4
114100
- name: Setup Python
115101
uses: actions/setup-python@v4
116102
with:
117103
python-version: 3.x
118104
- name: Install tox
119-
run: |
120-
python -m pip install tox
105+
run: python -m pip install tox
121106
- name: Run
122107
run: tox -e release
123108
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

tox.ini

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,9 @@ extras =
2626
changedir = docs
2727
commands =
2828
python -m sphinx -W --keep-going . {toxinidir}/build/html
29-
python -m sphinxlint
29+
python -m sphinxlint \
30+
# workaround for sphinx-contrib/sphinx-lint#83
31+
--jobs 1
3032

3133
[testenv:finalize]
3234
description = assemble changelog and tag a release

0 commit comments

Comments
 (0)