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 +