From 18ceb024bcd6333e0223a5b7ee89b4c21a9019f2 Mon Sep 17 00:00:00 2001 From: BastelBaus <44684710+BastelBaus@users.noreply.github.com> Date: Sun, 16 Jun 2024 13:09:00 +0200 Subject: [PATCH] Update test.yml changed to venv --- .github/workflows/test.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index aca3444..ae1e351 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -24,7 +24,8 @@ jobs: - name: Test with pytest run: | cd Galaxy6DLib - pip install pytest pytest-cov pytest-datafiles - pytest --doctest-modules --junitxml=junit/test-results.xml --cov=. --cov-report=xml --cov-report=html + virtualenv -p python3 test-venv + test-venv/bin/pip install pytest pytest-cov pytest-datafiles + test-venv/bin/pytest --doctest-modules ---cov=. --cov-report=html # pytest tests.py --doctest-modules --junitxml=junit/test-results.xml --cov=com --cov-report=xml --cov-report=html