Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 4d54ea0

Browse files
committed
Add matrix strategy to test with all supported Python versions
1 parent acd4754 commit 4d54ea0

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/tests.yml

+4-1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ jobs:
99
build_doc:
1010
name: Build CPython documentation
1111
runs-on: ubuntu-latest
12+
strategy:
13+
matrix:
14+
version: [3.7, 3.8, 3.9, '3.10', 3.11]
1215
steps:
1316
- uses: actions/checkout@v3
1417
- uses: actions/setup-python@v4
@@ -32,7 +35,7 @@ jobs:
3235
--skip-cache-invalidation
3336
--theme $(pwd)
3437
--language en
35-
--branch 3.11
38+
--branch ${{ matrix.version }}
3639
- name: Upload
3740
uses: actions/upload-artifact@v3
3841
with:

0 commit comments

Comments
 (0)