Skip to content

Commit 9e66984

Browse files
author
Jelmer Bot
committed
Manual checkout; Fix python versions
1 parent e2b15ed commit 9e66984

File tree

2 files changed

+31
-15
lines changed

2 files changed

+31
-15
lines changed

.github/workflows/Docs.yml

Lines changed: 22 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,25 @@ jobs:
1919
pages: write
2020
id-token: write
2121
steps:
22-
- id: deployment
23-
uses: sphinx-notes/pages@v3
24-
with:
25-
cache: True
26-
documentation_path: ./doc
27-
requirements_path: ./doc/requirements.txt
22+
- uses: actions/checkout@v3
23+
with:
24+
fetch-depth: 0
25+
26+
- uses: actions/setup-python@v4
27+
name: Install python
28+
with:
29+
python-version: 3.9
30+
cache: 'pip'
31+
32+
- name: Install dependencies
33+
run: |
34+
python -m pip install --upgrade pip
35+
pip install -r requirements.txt
36+
37+
- id: deployment
38+
uses: sphinx-notes/pages@v3
39+
with:
40+
cache: True
41+
checkout: False
42+
documentation_path: ./doc
43+
requirements_path: ./doc/requirements.txt

.github/workflows/Tests.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -65,38 +65,38 @@ jobs:
6565
matrix:
6666
include:
6767
- os: windows-latest
68-
python: 39
68+
python: 3.9
6969
platform_id: win_amd64
7070
- os: windows-latest
71-
python: 310
71+
python: 3.10
7272
platform_id: win_amd64
7373
- os: windows-latest
74-
python: 311
74+
python: 3.11
7575
platform_id: win_amd64
7676

7777
# Linux 64 bit manylinux2014
7878
- os: ubuntu-latest
79-
python: 39
79+
python: 3.9
8080
platform_id: manylinux_x86_64
8181
manylinux_image: manylinux2014
8282
- os: ubuntu-latest
83-
python: 310
83+
python: 3.10
8484
platform_id: manylinux_x86_64
8585
manylinux_image: manylinux2014
8686
- os: ubuntu-latest
87-
python: 311
87+
python: 3.11
8888
platform_id: manylinux_x86_64
8989
manylinux_image: manylinux2014
9090

9191
# MacOS x86_64
9292
- os: macos-latest
93-
python: 39
93+
python: 3.9
9494
platform_id: macosx_x86_64
9595
- os: macos-latest
96-
python: 310
96+
python: 3.10
9797
platform_id: macosx_x86_64
9898
- os: macos-latest
99-
python: 311
99+
python: 3.11
100100
platform_id: macosx_x86_64
101101
steps:
102102
- name: Download sdist

0 commit comments

Comments
 (0)