Skip to content

Commit cc7fd0e

Browse files
author
Tom Softreck
committed
update
1 parent eb7067c commit cc7fd0e

File tree

1 file changed

+20
-6
lines changed

1 file changed

+20
-6
lines changed

.github/workflows/tests.yml

Lines changed: 20 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,16 +30,30 @@ jobs:
3030
with:
3131
python-version: ${{ matrix.python-version }}
3232

33+
- name: Install system dependencies
34+
run: |
35+
sudo apt-get update
36+
sudo apt-get install -y python3-venv
37+
3338
- name: Install Poetry
34-
uses: snok/install-poetry@v1
35-
with:
36-
version: 1.5.1
37-
virtualenvs-create: true
38-
virtualenvs-in-project: true
39+
run: |
40+
pip install "poetry==1.5.1"
41+
echo "$(python -m site --user-base)/bin" >> $GITHUB_PATH
42+
43+
- name: Configure Poetry
44+
run: |
45+
poetry config virtualenvs.create true
46+
poetry config virtualenvs.in-project true
47+
poetry config --list
48+
poetry --version
3949
4050
- name: Install dependencies
4151
run: |
42-
poetry install --with dev,test --no-interaction --no-ansi
52+
# Install dependencies with verbose output for better debugging
53+
poetry install --with dev,test --no-interaction --no-ansi -v
54+
poetry env info
55+
echo "Installed packages:"
56+
poetry show --tree
4357
4458
- name: Run tests with coverage
4559
run: |

0 commit comments

Comments
 (0)