diff options
Diffstat (limited to '.github/workflows/pythonpackage.yml')
| -rw-r--r-- | .github/workflows/pythonpackage.yml | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/.github/workflows/pythonpackage.yml b/.github/workflows/pythonpackage.yml index 5e94cd05..3c7215cb 100644 --- a/.github/workflows/pythonpackage.yml +++ b/.github/workflows/pythonpackage.yml @@ -5,9 +5,9 @@ name: Python package on: push: - branches: [ master ] + branches: [ main ] pull_request: - branches: [ master ] + branches: [ main ] jobs: build: @@ -47,6 +47,11 @@ jobs: pip install flake8 # stop the build if there are Python syntax errors or undefined names flake8 --ignore=W293,E265,E266,W503,W504,E731 --count --show-source --statistics + - name: Check types with mypy + run: | + set -x + pip install tox + tox -e type - name: Test with nose run: | set -x @@ -56,4 +61,4 @@ jobs: run: | set -x pip install -r doc/requirements.txt - make -C doc html
\ No newline at end of file + make -C doc html |
