From 70eb8d8f03a3322bc79f57d8e0397d05afed16fa Mon Sep 17 00:00:00 2001 From: Spiros Maggioros Date: Mon, 2 Sep 2024 17:51:03 +0300 Subject: [PATCH] Change pytest for ubuntu --- .github/workflows/ubuntu-tests-3.10.yml | 2 +- .github/workflows/ubuntu-tests-3.11.yml | 2 +- .github/workflows/ubuntu-tests-3.12.yml | 2 +- .github/workflows/ubuntu-tests-3.8.yml | 2 +- .github/workflows/ubuntu-tests-3.9.yml | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ubuntu-tests-3.10.yml b/.github/workflows/ubuntu-tests-3.10.yml index a021079..5b63c9e 100644 --- a/.github/workflows/ubuntu-tests-3.10.yml +++ b/.github/workflows/ubuntu-tests-3.10.yml @@ -24,4 +24,4 @@ jobs: run: pip install setuptools && pip install -r dev-dependencies.txt - name: Run unit tests run: | - cd tests/unit && pytest --cov=../../ + cd tests/unit && python -m unittest discover -s . -p "*.py" diff --git a/.github/workflows/ubuntu-tests-3.11.yml b/.github/workflows/ubuntu-tests-3.11.yml index 529ece0..3b00512 100644 --- a/.github/workflows/ubuntu-tests-3.11.yml +++ b/.github/workflows/ubuntu-tests-3.11.yml @@ -24,4 +24,4 @@ jobs: run: pip install setuptools && pip install -r dev-dependencies.txt - name: Run unit tests run: | - cd tests/unit && pytest --cov=../../ + cd tests/unit && python -m unittest discover -s . -p "*.py" diff --git a/.github/workflows/ubuntu-tests-3.12.yml b/.github/workflows/ubuntu-tests-3.12.yml index da790fb..64d7712 100644 --- a/.github/workflows/ubuntu-tests-3.12.yml +++ b/.github/workflows/ubuntu-tests-3.12.yml @@ -21,4 +21,4 @@ jobs: run: pip install setuptools && pip install -r dev-dependencies.txt - name: Run unit tests run: | - cd tests/unit && pytest --cov=../../ + cd tests/unit && python -m unittest discover -s . -p "*.py" diff --git a/.github/workflows/ubuntu-tests-3.8.yml b/.github/workflows/ubuntu-tests-3.8.yml index 94d8070..e6b6959 100644 --- a/.github/workflows/ubuntu-tests-3.8.yml +++ b/.github/workflows/ubuntu-tests-3.8.yml @@ -24,4 +24,4 @@ jobs: run: pip install setuptools && pip install . - name: Run unit tests run: | - cd tests/unit && pytest --cov=../../ + cd tests/unit && python -m unittest discover -s . -p "*.py" diff --git a/.github/workflows/ubuntu-tests-3.9.yml b/.github/workflows/ubuntu-tests-3.9.yml index f7b3d98..d9d6089 100644 --- a/.github/workflows/ubuntu-tests-3.9.yml +++ b/.github/workflows/ubuntu-tests-3.9.yml @@ -24,4 +24,4 @@ jobs: run: pip install setuptools && pip install -r dev-dependencies.txt - name: Run unit tests run: | - cd tests/unit && pytest --cov=../../ + cd tests/unit && python -m unittest discover -s . -p "*.py"