From df617dc3bbc88578f082904be604df82ede8f42a Mon Sep 17 00:00:00 2001 From: Bryce Willey Date: Fri, 21 Nov 2025 17:11:23 -0500 Subject: [PATCH] Trying pytest Instead of python unittest, which doesn't really do modules well. --- pythontests/action.yml | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/pythontests/action.yml b/pythontests/action.yml index 63fa88a..8c7da57 100644 --- a/pythontests/action.yml +++ b/pythontests/action.yml @@ -24,7 +24,7 @@ runs: shell: bash - run: source venv/bin/activate shell: bash - - run: pip install wheel + - run: pip install wheel pytest shell: bash - run: pip install -v -r `find . -name requirements.txt` shell: bash @@ -40,13 +40,7 @@ runs: fi shell: bash - run: | - if [[ -d docassemble ]]; then - # Run tests in implicit namespace packages - python -m unittest discover docassemble - else - # Run tests in regular packages - python -m unittest discover - fi + pytest shell: bash - id: output-step run: echo "test-outputs=$?" >> $GITHUB_OUTPUT