From 9b3f704b6c1dfd4263cd5e7197b8c75b539277d9 Mon Sep 17 00:00:00 2001 From: Tom Schierenbeck <60885903+tomsch420@users.noreply.github.com> Date: Tue, 24 Oct 2023 11:41:23 +0200 Subject: [PATCH] Update python-package.yml --- .github/workflows/python-package.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 26d0fa9..613891c 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -29,6 +29,7 @@ jobs: python -m pip install --upgrade pip python -m pip install flake8 pytest if [ -f requirements.txt ]; then pip install -r requirements.txt; fi + python setup.py install - name: Lint with flake8 run: | # stop the build if there are Python syntax errors or undefined names @@ -37,4 +38,5 @@ jobs: flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics - name: Test with pytest run: | - python -m unittest discover -s random-events/test -t random-events/test + python -m pytest test +