diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index 10f796a..4fbaa62 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -33,6 +33,9 @@ jobs: # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics + - name: Install module + run: python -m pip install . + - name: Run Unit Tests run: python -m unittest -v @@ -41,9 +44,9 @@ jobs: uses: ./ deploy: -# needs: test + needs: test runs-on: ubuntu-latest - # if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags') + if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags') steps: - uses: actions/checkout@v4