Skip to content

Commit 68ff2fe

Browse files
Refactor GitHub Actions workflow to install Poetry directly
- Replaced the use of the `snok/install-poetry` action with direct installation commands for Poetry. - Configured Poetry to create virtual environments in the project directory, enhancing dependency management.
1 parent 2fd1cd6 commit 68ff2fe

1 file changed

Lines changed: 8 additions & 5 deletions

File tree

.github/workflows/test.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,14 @@ jobs:
2323
python-version: ${{ matrix.python-version }}
2424

2525
- name: Install Poetry
26-
uses: snok/install-poetry@v1
27-
with:
28-
version: latest
29-
virtualenvs-create: true
30-
virtualenvs-in-project: true
26+
run: |
27+
python -m pip install --upgrade pip
28+
pip install poetry
29+
30+
- name: Configure Poetry
31+
run: |
32+
poetry config virtualenvs.create true
33+
poetry config virtualenvs.in-project true
3134
3235
- name: Load cached venv
3336
id: cached-poetry-dependencies

0 commit comments

Comments
 (0)