Skip to content

Commit

Permalink
test-locking-down-poetry
Browse files Browse the repository at this point in the history
  • Loading branch information
V committed Jan 30, 2025
1 parent bb1b921 commit fc3f5dc
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-calitp-data-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
- uses: google-github-actions/setup-gcloud@v2
- name: Run checks
run: |
curl -sSL https://install.python-poetry.org | python -
curl -sSL https://install.python-poetry.org | POETRY_VERSION=2.0.1 python -
poetry install
poetry run mypy .
poetry run pytest
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-calitp-data-infra.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
- uses: google-github-actions/setup-gcloud@v2
- name: Run checks
run: |
curl -sSL https://install.python-poetry.org | python -
curl -sSL https://install.python-poetry.org | POETRY_VERSION=2.0.1 python -
poetry install
poetry run mypy .
poetry run pytest
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-calitp-map-utils.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
with:
python-version: '3.11'
- run: |
curl -sSL https://install.python-poetry.org | python -
curl -sSL https://install.python-poetry.org | POETRY_VERSION=2.0.1 python -
poetry install
poetry run mypy calitp_map_utils
poetry run pytest --spec
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-dask-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
- uses: actions/setup-python@v4
with:
python-version: '3.10'
- run: curl -sSL https://install.python-poetry.org | python -
- run: curl -sSL https://install.python-poetry.org | POETRY_VERSION=2.0.1 python -
# from https://forcepush.tech/python-package-ci-cd-with-git-hub-actions
- name: Get image tag from version.txt
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-warehouse-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
- uses: actions/setup-python@v4
with:
python-version: '3.11'
- run: curl -sSL https://install.python-poetry.org | python -
- run: curl -sSL https://install.python-poetry.org | POETRY_VERSION=2.0.1 python -
- uses: 'google-github-actions/auth@v2'
with:
credentials_json: '${{ secrets.GCP_SA_KEY }}'
Expand Down

0 comments on commit fc3f5dc

Please sign in to comment.