Nidhal Baccouri
commited on
Commit
·
7298d38
1
Parent(s):
f2c6421
updated pipeline
Browse files
.github/workflows/test.yml
CHANGED
@@ -25,18 +25,17 @@ jobs:
|
|
25 |
path: .venv
|
26 |
key: venv-${{ matrix.python-version }}-${{ hashFiles('pyproject.toml') }}-${{ hashFiles('poetry.lock') }}
|
27 |
|
28 |
-
- name: Check
|
29 |
run: |
|
30 |
echo $HOME
|
31 |
ls $HOME -a
|
|
|
32 |
|
33 |
- name: Install dependencies
|
34 |
run: |
|
35 |
-
source "$HOME/.poetry/env"
|
36 |
poetry config virtualenvs.in-project true
|
37 |
poetry install
|
38 |
|
39 |
- name: Run tests
|
40 |
run: |
|
41 |
-
source "$HOME/.poetry/env"
|
42 |
poetry run pytest
|
|
|
25 |
path: .venv
|
26 |
key: venv-${{ matrix.python-version }}-${{ hashFiles('pyproject.toml') }}-${{ hashFiles('poetry.lock') }}
|
27 |
|
28 |
+
- name: Check poetry config
|
29 |
run: |
|
30 |
echo $HOME
|
31 |
ls $HOME -a
|
32 |
+
poetry config --list
|
33 |
|
34 |
- name: Install dependencies
|
35 |
run: |
|
|
|
36 |
poetry config virtualenvs.in-project true
|
37 |
poetry install
|
38 |
|
39 |
- name: Run tests
|
40 |
run: |
|
|
|
41 |
poetry run pytest
|