Skip to content

Commit b5c710b

Browse files
committed
add 3.12 in web workflow
1 parent e18ae36 commit b5c710b

1 file changed

Lines changed: 7 additions & 3 deletions

File tree

.github/workflows/pytest-web.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,15 @@ jobs:
2222

2323
strategy:
2424
matrix:
25-
python-version: [ "3.11", "3.12" ] # add more if needed (the server version should be sufficient)
25+
config:
26+
# - req-file: requirements-py311-linux64.txt
27+
# python-version: "3.11"
28+
29+
- req-file: requirements-py312-macos_arm64.txt
30+
python-version: "3.12"
2631

2732
env:
2833
SETTINGS_MODULE: "egsim.settings.test"
29-
REQUIREMENTS_FILE: "./requirements/requirements-py311-linux64.txt"
3034

3135
steps:
3236
# Checkout repository
@@ -60,7 +64,7 @@ jobs:
6064
source venv/bin/activate
6165
pip install --upgrade pip
6266
# install OpenQuake requirements EXCEPT django* packages:
63-
pip install -r "${REQUIREMENTS_FILE}"
67+
pip install -r "./requirements/${{ matrix.req-file }}"
6468
# install this package (upgrade when possible to latest):
6569
pip install -U ".[web]"
6670
# install django (upgrade aggressively):

0 commit comments

Comments
 (0)