Skip to content

Commit

Permalink
Force Python 3.9 in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
ml-evs committed Sep 23, 2023
1 parent 3101257 commit 249b856
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ jobs:
with:
submodules: true

- name: Set up Python 3.8
- name: Set up Python 3.9
uses: actions/setup-python@v4
with:
python-version: '3.8'
python-version: '3.9'
cache: 'pip'
cache-dependency-path: |
requirements*.txt
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,12 @@ jobs:
submodules: true


- name: Set up Python 3.8
# while PASCal should work with any Python>=3.8 version,
# the Azure deployment uses Python 3.9
- name: Set up Python 3.9
uses: actions/setup-python@v4
with:
python-version: '3.8'
python-version: '3.9'
cache: 'pip'
cache-dependency-path: |
requirements*.txt
Expand All @@ -29,6 +31,7 @@ jobs:
python -m pip install --upgrade pip
pip install poetry
poetry install
poetry run python --version
- name: Lock dependencies and prepare deployment
run: |
Expand Down

0 comments on commit 249b856

Please sign in to comment.