From c7b7f38a6d3835ba62f5ff9575437204975d0efe Mon Sep 17 00:00:00 2001 From: Artur Glavic Date: Wed, 30 Oct 2024 13:34:45 +0100 Subject: [PATCH] make sure the right pytest is used --- .github/workflows/unit_tests.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/unit_tests.yml b/.github/workflows/unit_tests.yml index 8e6fe25..b833369 100644 --- a/.github/workflows/unit_tests.yml +++ b/.github/workflows/unit_tests.yml @@ -29,9 +29,9 @@ jobs: run: | python -m pip install --upgrade pip pip install pytest - if [ -f requirements.txt ]; then pip install -r requirements.txt; fi + pip install -r requirements.txt - name: Test with pytest run: | cd tests - pytest --pyargs . + python -m pytest --pyargs .