Skip to content

Commit

Permalink
Add latest poetry
Browse files Browse the repository at this point in the history
  • Loading branch information
Athanaseus authored Jan 30, 2024
1 parent 1b5da38 commit 669e5c9
Showing 1 changed file with 17 additions and 2 deletions.
19 changes: 17 additions & 2 deletions .github/workflows/python-dependants.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ on:
pull_request:
branches: [ master ]

env:
POETRY_VERSION: 1.7.1

jobs:
deploy:

Expand All @@ -24,6 +27,16 @@ jobs:
uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: Cache Installations
id: cache-installs
uses: actions/cache@v3
with:
path: ~/.local
key: install-${{ env.INSTALL_CACHE_HASH }}-3
- name: Install Poetry
if: steps.cache-installs.outputs.cache-hit != 'true'
run: |
curl -sSL https://install.python-poetry.org | python3 - --version ${{ env.POETRY_VERSION }}
- name: Git clone caracal
run: git clone https://github.com/caracal-pipeline/caracal.git ../caracal/
- uses: actions/checkout@v4
Expand All @@ -32,6 +45,8 @@ jobs:
cd ../caracal/
poetry add stimela@latest --lock
git add poetry.lock pyproject.toml
- name: Test poetry
run: poetry --version
- name: Create Pull Request
id: cpr
uses: peter-evans/create-pull-request@v5
Expand All @@ -43,10 +58,10 @@ jobs:
signoff: false
branch: readthedocs
delete-branch: true
title: 'Read the docs updates'
title: 'Stimela dependency update'
body: |
Update report
- Auto-generated by caracal
- Auto-generated by stimela-classic
labels: |
automated pr
assignees: athanaseus
Expand Down

0 comments on commit 669e5c9

Please sign in to comment.