Nidhal Baccouri
commited on
Commit
·
b31adc0
1
Parent(s):
248e8e7
updated poetry env in the pipeline
Browse files
.github/workflows/test.yml
CHANGED
@@ -26,12 +26,11 @@ jobs:
|
|
26 |
key: venv-${{ matrix.python-version }}-${{ hashFiles('pyproject.toml') }}-${{ hashFiles('poetry.lock') }}
|
27 |
- name: Install dependencies
|
28 |
run: |
|
29 |
-
poetry
|
30 |
-
poetry
|
31 |
-
ls
|
32 |
poetry install
|
33 |
|
34 |
- name: Run tests
|
35 |
run: |
|
36 |
-
poetry
|
37 |
poetry run pytest
|
|
|
26 |
key: venv-${{ matrix.python-version }}-${{ hashFiles('pyproject.toml') }}-${{ hashFiles('poetry.lock') }}
|
27 |
- name: Install dependencies
|
28 |
run: |
|
29 |
+
source "$HOME/.poetry/env"
|
30 |
+
poetry config virtualenvs.in-project true
|
|
|
31 |
poetry install
|
32 |
|
33 |
- name: Run tests
|
34 |
run: |
|
35 |
+
source "$HOME/.poetry/env"
|
36 |
poetry run pytest
|