From 9c093a14d22b73d06ceaf5d5f63cf39b2c528a2f Mon Sep 17 00:00:00 2001 From: Marcus Oskarsson Date: Thu, 12 Oct 2023 17:04:02 +0200 Subject: [PATCH] python -m to run poetry --- .github/workflows/build_and_test.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml index 416c5a90c..18e70c2f9 100644 --- a/.github/workflows/build_and_test.yml +++ b/.github/workflows/build_and_test.yml @@ -45,12 +45,10 @@ jobs: run: | conda install -c conda-forge mamba mamba env update --file conda-environment.yml --name base - poetry install + python -m poetry install - name: Linting & Code Quality run: | poetry run pre-commit run --all-files - name: Test with pytest run: | - conda install pytest - conda install pytest-cov - pytest + python -m pytest