Skip to content

Commit

Permalink
clean poetry env before tests
Browse files Browse the repository at this point in the history
  • Loading branch information
rustyjux committed Oct 15, 2024
1 parent 8eeee61 commit 78fcdc3
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,15 @@ jobs:
sudo apt install -y pipx git
pipx ensurepath
pipx install poetry
- name: Clean Poetry Environment
run: poetry env remove python || true

- name: Test coverage for Gateway API
run: |
export PATH=/root/.local/bin:$PATH
cd microservices/gatewayApi
poetry install --no-root
poetry install --no-root --no-cache
ENV=test GITHASH=11223344 \
poetry run coverage run --branch -m pytest -s -v
poetry run coverage xml
Expand Down

0 comments on commit 78fcdc3

Please sign in to comment.