From 73db416784c400eccb5cdea0b3a00ac4bd68c595 Mon Sep 17 00:00:00 2001 From: Alexandre Gramfort Date: Thu, 23 Apr 2020 10:57:26 +0200 Subject: revert changes on GH yml --- .github/workflows/pythonpackage.yml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to '.github') 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 -- cgit v1.2.3