diff options
author | Alexandre Gramfort <alexandre.gramfort@m4x.org> | 2020-04-23 10:57:26 +0200 |
---|---|---|
committer | Alexandre Gramfort <alexandre.gramfort@m4x.org> | 2020-04-23 10:57:26 +0200 |
commit | 73db416784c400eccb5cdea0b3a00ac4bd68c595 (patch) | |
tree | 0c79b896f7445b1bf983ad36eb454b330da22325 /.github/workflows | |
parent | f9638166521a1160838fae75e2a2e318d645460e (diff) |
revert changes on GH yml
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/pythonpackage.yml | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/.github/workflows/pythonpackage.yml b/.github/workflows/pythonpackage.yml index 755937a..5b1fa0e 100644 --- a/.github/workflows/pythonpackage.yml +++ b/.github/workflows/pythonpackage.yml @@ -1,12 +1,14 @@ -name: Test Package +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 . --count --exit-zero --max-complexity=10 --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 |