Skip to content

Commit 78fcdc3

Browse files
committed
clean poetry env before tests
1 parent 8eeee61 commit 78fcdc3

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/dev.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,15 @@ jobs:
3131
sudo apt install -y pipx git
3232
pipx ensurepath
3333
pipx install poetry
34+
35+
- name: Clean Poetry Environment
36+
run: poetry env remove python || true
37+
3438
- name: Test coverage for Gateway API
3539
run: |
3640
export PATH=/root/.local/bin:$PATH
3741
cd microservices/gatewayApi
38-
poetry install --no-root
42+
poetry install --no-root --no-cache
3943
ENV=test GITHASH=11223344 \
4044
poetry run coverage run --branch -m pytest -s -v
4145
poetry run coverage xml

0 commit comments

Comments
 (0)