Skip to content

Commit f1451e1

Browse files
committed
fix: try to fix poetry venv issues while installing non-safe packages
1 parent e1a2fe4 commit f1451e1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/ci.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,8 @@ jobs:
6868
matrix:
6969
python-version: [ "3.9","3.10","3.11", "3.12" ]
7070
runs-on: ubuntu-latest
71+
env:
72+
POETRY_VIRTUALENVS_IN_PROJECT: "true"
7173
steps:
7274
- uses: actions/checkout@v4
7375
- name: Set up Python ${{ matrix.python-version }}
@@ -77,7 +79,7 @@ jobs:
7779
- name: Install dependencies
7880
run: |
7981
make install
80-
make install-test-contract
82+
source .venv/bin/activate && make install-test-contract
8183
- name: Run unit tests
8284
run: |
8385
poetry run make test-contract

0 commit comments

Comments
 (0)