Skip to content

Commit 4154c72

Browse files
fix workflow
1 parent aa784cb commit 4154c72

File tree

2 files changed

+7
-9
lines changed

2 files changed

+7
-9
lines changed

.github/workflows/codecov.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
python -m pip install --upgrade pip
4242
4343
- name: Install package
44-
run: python -m pip install ".[dev]""
44+
run: python -m pip install ".[dev]"
4545

4646
- name: Generate coverage report
4747
run: |

.github/workflows/python-package.yml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -39,14 +39,12 @@ jobs:
3939
- name: Install dependencies
4040
run: |
4141
python -m pip install --upgrade pip
42-
python -m pip install flake8 pytest scikit-learn scipy
43-
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
44-
- name: Lint with flake8
45-
run: |
46-
# stop the build if there are Python syntax errors or undefined names
47-
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
48-
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
49-
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
42+
# python -m pip install flake8 pytest scikit-learn scipy
43+
# if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
44+
45+
- name: Install the package
46+
run: python -m pip install ".[dev]"
47+
5048
- name: Test with pytest
5149
run: |
5250
pytest tests/*

0 commit comments

Comments
 (0)