Skip to content

Commit

Permalink
Explicitly set Poetry to use the desired Python
Browse files Browse the repository at this point in the history
Otherwise, Poetry uses the default Python 3.8 environment on the
runner.
  • Loading branch information
ian-noaa committed Oct 14, 2022
1 parent 824c4d3 commit 2de7efc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/api.yaml
Expand Up @@ -32,6 +32,7 @@ jobs:
python-version: '3.9'
cache: 'poetry'
cache-dependency-path: 'services/api/poetry.lock'
- run: poetry env use 3.9
- name: Install dependencies
working-directory: services/api
run: poetry install
Expand All @@ -52,6 +53,7 @@ jobs:
python-version: '3.9'
cache: 'poetry'
cache-dependency-path: 'services/api/poetry.lock'
- run: poetry env use 3.9
- name: Install dependencies
working-directory: services/api
run: poetry install
Expand All @@ -69,6 +71,7 @@ jobs:
python-version: '3.9'
cache: 'poetry'
cache-dependency-path: 'services/api/poetry.lock'
- run: poetry env use 3.9
- name: Install dependencies
working-directory: services/api
run: poetry install
Expand Down

0 comments on commit 2de7efc

Please sign in to comment.