Skip to content

Commit

Permalink
💚 Install poetry before poetry chaching
Browse files Browse the repository at this point in the history
  • Loading branch information
i-be-snek committed Oct 26, 2024
1 parent 21ac420 commit b140419
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/run_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,20 @@ jobs:
fetch-depth: 0
env:
GIT_LFS_SKIP_SMUDGE: 1
steps:
- name: Install poetry
run: |
curl -O -sSL https://install.python-poetry.org/install-poetry.py
python install-poetry.py -y --version 1.1.12
echo "PATH=${HOME}/.poetry/bin:${PATH}" >> $GITHUB_ENV
rm install-poetry.py
- name: Set up Python 3.11
uses: actions/[email protected]
with:
python-version: 3.11
cache: poetry
- name: Install dependencies
run: |
python3 -m pip install -U pip poetry
poetry --version
poetry check --no-interaction
poetry config virtualenvs.in-project true
Expand Down

0 comments on commit b140419

Please sign in to comment.