Skip to content

Commit 424c6bd

Browse files
author
ashariyar
committed
don't run flake tests; run pip install
1 parent 40f8fe3 commit 424c6bd

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.github/workflows/python-package.yml

+8-8
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,14 @@ jobs:
2727
- name: Install dependencies
2828
run: |
2929
python -m pip install --upgrade pip
30-
python -m pip install flake8 pytest
31-
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
32-
- name: Lint with flake8
33-
run: |
34-
# stop the build if there are Python syntax errors or undefined names
35-
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
36-
# 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
30+
python -m pip install pytest
31+
pip install .
3832
- name: Test with pytest
3933
run: |
4034
pytest
35+
# - name: Lint with flake8
36+
# run: |
37+
# # stop the build if there are Python syntax errors or undefined names
38+
# flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
39+
# # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
40+
# flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics

0 commit comments

Comments
 (0)