2323 runs-on : " ubuntu-20.04"
2424 continue-on-error : ${{ matrix.config.experimental }}
2525 env :
26- USING_COVERAGE : ' 3.6,3.7,3.8,3.9,3.10,3.11.0-rc.1 ,pypy-3.6,pypy-3.7,pypy-3.8'
26+ USING_COVERAGE : ' 3.6,3.7,3.8,3.9,3.10,3.11,pypy-3.6,pypy-3.7,pypy-3.8'
2727
2828 strategy :
2929 fail-fast : False
@@ -34,14 +34,14 @@ jobs:
3434 - {python-version: "3.8", testenvs: "py38-sphinx{3.2,3.3,3.4,3.5,4.0,4.1,4.2,4.3,4.4,4.5,5.0,5.1},build", experimental: False}
3535 - {python-version: "3.9", testenvs: "py39-sphinx{3.2,3.3,3.4,3.5,4.0,4.1,4.2,4.3,4.4,4.5,5.0,5.1},build", experimental: False}
3636 - {python-version: "3.10", testenvs: "py310-sphinx{3.2,3.3,3.4,3.5,4.0,4.1,4.2,4.3,4.4,4.5,5.0,5.1},build", experimental: False}
37- - {python-version: "3.11.0-rc.1 ", testenvs: "py311-dev-sphinx{3.2,3.3,3.4,3.5,4.0,4.1,4.2,4.3,4.4,4.5,5.0,5.1},build", experimental: True}
37+ - {python-version: "3.11", testenvs: "py311-dev-sphinx{3.2,3.3,3.4,3.5,4.0,4.1,4.2,4.3,4.4,4.5,5.0,5.1},build", experimental: True}
3838 - {python-version: "pypy-3.6", testenvs: "pypy36-sphinx{4.0,4.1,4.2,4.3,4.4,4.5},build", experimental: False}
3939 - {python-version: "pypy-3.7", testenvs: "pypy37-sphinx{4.0,4.1,4.2,4.3,4.4,4.5,5.0,5.1},build", experimental: True}
4040 - {python-version: "pypy-3.8", testenvs: "pypy38-sphinx{4.0,4.1,4.2,4.3,4.4,4.5,5.0,5.1},build", experimental: True}
4141
4242 steps :
4343 - name : Checkout 🛎️
44- uses : " actions/checkout@v2 "
44+ uses : " actions/checkout@v3 "
4545
4646 - name : Check for changed files
4747 if : startsWith(github.ref, 'refs/tags/') != true
5656 - name : Setup Python 🐍
5757 id : setup-python
5858 if : ${{ steps.changes.outputs.code == 'true' || steps.changes.outcome == 'skipped' }}
59- uses : " actions/setup-python@v2 "
59+ uses : " actions/setup-python@v4 "
6060 with :
6161 python-version : " ${{ matrix.config.python-version }}"
6262
@@ -66,15 +66,15 @@ jobs:
6666 python -VV
6767 python -m site
6868 python -m pip install --upgrade pip setuptools wheel
69- python -m pip install --upgrade tox virtualenv!=20.16.0
69+ python -m pip install --upgrade tox~=3.0 virtualenv!=20.16.0
7070 python -m pip install --upgrade coverage_pyver_pragma
7171
7272 - name : " Run Tests for Python ${{ matrix.config.python-version }}"
7373 if : steps.setup-python.outcome == 'success'
7474 run : python -m tox -e "${{ matrix.config.testenvs }}" -s false
7575
7676 - name : " Upload Coverage 🚀"
77- uses : actions/upload-artifact@v2
77+ uses : actions/upload-artifact@v3
7878 if : ${{ always() && steps.setup-python.outcome == 'success' }}
7979 with :
8080 name : " coverage-${{ matrix.config.python-version }}"
@@ -86,10 +86,10 @@ jobs:
8686 runs-on : " ubuntu-20.04"
8787 steps :
8888 - name : Checkout 🛎️
89- uses : " actions/checkout@v2 "
89+ uses : " actions/checkout@v3 "
9090
9191 - name : Setup Python 🐍
92- uses : " actions/setup-python@v2 "
92+ uses : " actions/setup-python@v4 "
9393 with :
9494 python-version : 3.8
9595
9999 python -m pip install --upgrade "coveralls>=3.0.0" coverage_pyver_pragma
100100
101101 - name : " Download Coverage 🪂"
102- uses : actions/download-artifact@v2
102+ uses : actions/download-artifact@v3
103103 with :
104104 path : coverage
105105
@@ -117,7 +117,7 @@ jobs:
117117
118118 - name : " Upload Combined Coverage Artefact 🚀"
119119 if : ${{ steps.show.outcome != 'failure' }}
120- uses : actions/upload-artifact@v2
120+ uses : actions/upload-artifact@v3
121121 with :
122122 name : " combined-coverage"
123123 path : .coverage
@@ -135,11 +135,11 @@ jobs:
135135 runs-on : " ubuntu-20.04"
136136 steps :
137137 - name : Checkout 🛎️
138- uses : " actions/checkout@v2 "
138+ uses : " actions/checkout@v3 "
139139 if : startsWith(github.ref, 'refs/tags/')
140140
141141 - name : Setup Python 🐍
142- uses : " actions/setup-python@v2 "
142+ uses : " actions/setup-python@v4 "
143143 if : startsWith(github.ref, 'refs/tags/')
144144 with :
145145 python-version : 3.8
@@ -148,7 +148,7 @@ jobs:
148148 if : startsWith(github.ref, 'refs/tags/')
149149 run : |
150150 python -m pip install --upgrade pip setuptools wheel
151- python -m pip install --upgrade tox
151+ python -m pip install --upgrade tox~=3.0
152152
153153 - name : Build distributions 📦
154154 if : startsWith(github.ref, 'refs/tags/')
@@ -176,22 +176,24 @@ jobs:
176176
177177 Conda :
178178 needs : deploy
179- runs-on : " ubuntu-18 .04"
179+ runs-on : ubuntu-22 .04
180180 if : startsWith(github.ref, 'refs/tags/') || (startsWith(github.event.head_commit.message, 'Bump version') != true)
181181 steps :
182182 - name : Checkout 🛎️
183- uses : " actions/checkout@v2 "
183+ uses : " actions/checkout@v3 "
184184
185185 - name : Setup Python 🐍
186- uses : " actions/setup-python@v2 "
186+ uses : " actions/setup-python@v4 "
187187 with :
188188 python-version : 3.8
189189
190190 - name : Setup Conda
191191 uses : conda-incubator/setup-miniconda@v2
192192 with :
193193 activate-environment : env
194- conda-build-version : 3.21.0
194+ conda-build-version : 3.23.3
195+ python-version : " 3.8"
196+ miniforge-variant : Mambaforge
195197
196198 - name : Install dependencies 🔧
197199 run : |
0 commit comments