diff options
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/pythonpackage.yml | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/.github/workflows/pythonpackage.yml b/.github/workflows/pythonpackage.yml index 2b4acad..5b1fa0e 100644 --- a/.github/workflows/pythonpackage.yml +++ b/.github/workflows/pythonpackage.yml @@ -3,10 +3,12 @@ name: build on: push: branches: - - master - pull_request: + - '**' + create: branches: - - master + - 'master' + tags: + - '**' jobs: linux: @@ -34,7 +36,7 @@ jobs: # stop the build if there are Python syntax errors or undefined names flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide - flake8 examples/ ot/ test/ --count --max-line-length=127 --statistics + flake8 examples/ ot/ test/ --count --max-line-length=127 --statistics - name: Install POT run: | pip install -e . @@ -97,3 +99,4 @@ jobs: - name: Run tests run: | python -m pytest -v test/ ot/ --doctest-modules --ignore ot/gpu/ --cov=ot +=ot |