From 74ccd3c364f583910bb4cd7d6109289585977191 Mon Sep 17 00:00:00 2001 From: JunsongDu Date: Mon, 2 Sep 2024 14:50:28 +0200 Subject: [PATCH] chore: use general command to execute tests --- .github/workflows/setup-docker-and-run-tests.yml | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/.github/workflows/setup-docker-and-run-tests.yml b/.github/workflows/setup-docker-and-run-tests.yml index abc843a..d650f92 100644 --- a/.github/workflows/setup-docker-and-run-tests.yml +++ b/.github/workflows/setup-docker-and-run-tests.yml @@ -61,14 +61,8 @@ jobs: - name: Set PYTHONPATH run: echo "PYTHONPATH=$(pwd)" >> $GITHUB_ENV - - name: Run test_crud.py + - name: Run tests run: | source venv/bin/activate cd tests - python -m unittest test_crud.py - - - name: Run test_forwarding.py - run: | - source venv/bin/activate - cd tests - python -m unittest test_forwarding.py \ No newline at end of file + python -m unittest discover --verbose . "test_*.py" \ No newline at end of file