From 60166710af70643211c5cd227fc9e8902537700b Mon Sep 17 00:00:00 2001 From: stevo89519 Date: Mon, 30 Sep 2024 15:14:35 -0400 Subject: [PATCH] IWF-157: Poetry dep fix --- .github/workflows/tests.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 88f4baf..dd0387f 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -11,8 +11,12 @@ jobs: uses: actions/setup-python@v3 with: python-version: '3.9' - - name: Install deps + - name: Install Poetry uses: snok/install-poetry@v1 + with: + virtualenvs-create: false + - name: Install Dependencies + run: poetry install - name: Run linters uses: pre-commit/action@v3.0.0 pytest: @@ -27,6 +31,8 @@ jobs: python-version: '3.9' - name: Install deps uses: snok/install-poetry@v1 + with: + virtualenvs-create: false - name: Run pytest check # sleep 30s to wait for the server to be ready run: echo "[run]">>.coveragerc && echo "omit = iwf/iwf_api/">>.coveragerc && sleep 30 && poetry run pytest -vv --cov-config=.coveragerc --cov="iwf/" . - name: Dump docker logs