Skip to content

Commit 73db416

Browse files
committed
revert changes on GH yml
1 parent f963816 commit 73db416

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

.github/workflows/pythonpackage.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
1-
name: Test Package
1+
name: build
22

33
on:
44
push:
55
branches:
6-
- master
7-
pull_request:
6+
- '**'
7+
create:
88
branches:
9-
- master
9+
- 'master'
10+
tags:
11+
- '**'
1012

1113
jobs:
1214
linux:
@@ -34,7 +36,7 @@ jobs:
3436
# stop the build if there are Python syntax errors or undefined names
3537
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
3638
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
37-
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
39+
flake8 examples/ ot/ test/ --count --max-line-length=127 --statistics
3840
- name: Install POT
3941
run: |
4042
pip install -e .
@@ -97,3 +99,4 @@ jobs:
9799
- name: Run tests
98100
run: |
99101
python -m pytest -v test/ ot/ --doctest-modules --ignore ot/gpu/ --cov=ot
102+
=ot

0 commit comments

Comments
 (0)