File tree Expand file tree Collapse file tree 5 files changed +23
-11
lines changed Expand file tree Collapse file tree 5 files changed +23
-11
lines changed Original file line number Diff line number Diff line change 12
12
uses : actions/checkout@v3
13
13
14
14
- name : Set up Python 3
15
- uses : actions/setup-python@v3
15
+ uses : actions/setup-python@v4
16
16
with :
17
17
python-version : ' 3.x'
18
18
19
19
- name : Run pre-commit hooks
20
- uses : pre-commit/action@v2 .0.3
20
+ uses : pre-commit/action@v3 .0.0
Original file line number Diff line number Diff line change 6
6
render-peps :
7
7
name : Render PEPs
8
8
runs-on : ubuntu-latest
9
+ strategy :
10
+ fail-fast : false
11
+ matrix :
12
+ python-version : ["3.x", "3.11-dev"]
9
13
10
14
steps :
11
15
- name : 🛎️ Checkout
12
16
uses : actions/checkout@v3
13
17
with :
14
18
fetch-depth : 0 # fetch all history so that last modified date-times are accurate
15
19
16
- - name : 🐍 Set up Python 3
17
- uses : actions/setup-python@v3
20
+ - name : 🐍 Set up Python ${{ matrix.python-version }}
21
+ uses : actions/setup-python@v4
18
22
with :
19
- python-version : ' 3.x '
20
- cache : " pip"
23
+ python-version : ${{ matrix.python-version }}
24
+ cache : pip
21
25
22
26
- name : 👷 Install dependencies
23
27
run : |
32
36
33
37
- name : 🚀 Deploy to GitHub pages
34
38
# This allows CI to build branches for testing
35
- if : github.ref == 'refs/heads/main'
36
- uses : JamesIves/github-pages-deploy-action@v4.2.2
39
+ if : ( github.ref == 'refs/heads/main') && (matrix.python-version == '3.x')
40
+ uses : JamesIves/github-pages-deploy-action@v4
37
41
with :
38
- branch : gh-pages # The branch to deploy to.
39
42
folder : build # Synchronise with build.py -> build_directory
40
43
single-commit : true # Delete existing files
41
44
Original file line number Diff line number Diff line change @@ -22,14 +22,17 @@ jobs:
22
22
strategy :
23
23
fail-fast : false
24
24
matrix :
25
- python-version : ["3.9", "3.10"]
25
+ python-version : ["3.9", "3.10", "3.11-dev" ]
26
26
os : [windows-latest, macos-latest, ubuntu-latest]
27
+ # lxml doesn't yet install for 3.11 on Windows
28
+ exclude :
29
+ - { python-version: "3.11-dev", os: windows-latest }
27
30
28
31
steps :
29
32
- uses : actions/checkout@v3
30
33
31
34
- name : Set up Python ${{ matrix.python-version }}
32
- uses : actions/setup-python@v3
35
+ uses : actions/setup-python@v4
33
36
with :
34
37
python-version : ${{ matrix.python-version }}
35
38
cache : pip
Original file line number Diff line number Diff line change
1
+ coverage.xml
1
2
pep-0000.txt
2
3
pep-0000.rst
3
4
pep- ???? .html
Original file line number Diff line number Diff line change @@ -3,6 +3,11 @@ addopts = -r a --strict-config --strict-markers --import-mode=importlib --cov pe
3
3
empty_parameter_set_mark = fail_at_collect
4
4
filterwarnings =
5
5
error
6
+ # Awaiting release of https://github.com/python-babel/babel/issues/873
7
+ # in Babel 2.11, due 2022-08-01 https://github.com/python-babel/babel/milestone/6?closed=1
8
+ ignore:' cgi' is deprecated and slated for removal in Python 3.13:DeprecationWarning
9
+ # Awaiting https://github.com/sphinx-doc/sphinx/issues/10440
10
+ ignore:' imghdr' is deprecated and slated for removal in Python 3.13:DeprecationWarning
6
11
minversion = 6.0
7
12
testpaths = pep_sphinx_extensions
8
13
xfail_strict = True
You can’t perform that action at this time.
0 commit comments