Skip to content

Commit baf7e91

Browse files
committed
Change default Python version to 3.11
1 parent adb9456 commit baf7e91

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

.github/workflows/ci.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
poetry install --all-extras
4545
4646
- name: Run linting
47-
if: matrix.python-version == 3.9
47+
if: matrix.python-version == '3.11'
4848
run: |
4949
poetry run pre-commit run --all-files
5050
@@ -53,12 +53,12 @@ jobs:
5353
poetry run pytest
5454
5555
- name: Build docs
56-
if: matrix.python-version == 3.9
56+
if: matrix.python-version == '3.11'
5757
run : |
5858
poetry run mkdocs build
5959
6060
- name: Lock dependencies and prepare deployment
61-
if: matrix.python-version == 3.9
61+
if: matrix.python-version == '3.11'
6262
run: |
6363
# Azure expects to find the app, requirements and any static files at the top-level
6464
# so we need to do some tweaks here to massage the repo into that format
@@ -70,7 +70,7 @@ jobs:
7070
ls -al
7171
7272
- name: Upload artifact for deployment
73-
if: matrix.python-version == 3.9
73+
if: matrix.python-version == '3.11'
7474
uses: actions/upload-artifact@v6
7575
with:
7676
name: PASCal - test
@@ -82,14 +82,14 @@ jobs:
8282
!tests/
8383
8484
- name: Fix permissions # followng https://github.com/actions/upload-pages-artifact?tab=readme-ov-file#file-permissions
85-
if: matrix.python-version == 3.9
85+
if: matrix.python-version == '3.11'
8686
run: |
8787
chmod -c -R +rX "site/" | while read line; do
8888
echo "::warning title=Invalid file permissions automatically fixed::$line"
8989
done
9090
9191
- name: Upload docs artifact
92-
if: matrix.python-version == 3.9
92+
if: matrix.python-version == '3.11'
9393
uses: actions/upload-pages-artifact@v4
9494
with:
9595
path: site

0 commit comments

Comments
 (0)