File tree 1 file changed +4
-3
lines changed 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -21,18 +21,19 @@ jobs:
21
21
python -m pip install --upgrade pip
22
22
pip install flake8
23
23
- name : Lint with flake8
24
+ # TODO: fix linting issues and remove --exit-zero flag
24
25
run : |
25
26
# stop the build if there are Python syntax errors or undefined names
26
27
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
27
28
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
28
29
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
29
30
- name : Install requirements
30
31
run : |
31
- pip install -r requirements.txt
32
- # TODO: update to latest packaging conventions
32
+ pip install -r requirements.txt
33
33
- name : Install package
34
+ # TODO: update to latest packaging conventions
34
35
run : |
35
36
pip install -e .
36
- - name : Test with pytest
37
+ - name : Run tests
37
38
run : |
38
39
python manage.py test --settings=segments.tests.settings
You can’t perform that action at this time.
0 commit comments