File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -17,15 +17,15 @@ jobs:
17
17
- uses : actions/checkout@v4
18
18
- name : Install dependencies
19
19
run : |
20
- python --version
21
- pip install --upgrade pip setuptools wheel
22
- pip install -r requirements.txt
20
+ python2 --version
21
+ pip2 install --upgrade pip setuptools wheel
22
+ pip2 install -r requirements.txt
23
23
- name : Lint with flake8
24
24
run : |
25
- pip install flake8
25
+ pip2 install flake8
26
26
flake8 . --count --select=$(printf '%s,' {A..Z}) --ignore='W503,E203' --show-source --max-complexity=13 --max-line-length=119 --statistics
27
27
- name : Test with unittest
28
- run : python -m unittest discover -s nginxctl/tests
28
+ run : python2 setup.py test
29
29
30
30
build :
31
31
50
50
flake8 . --count --select=$(printf '%s,' {A..Z}) --ignore='W503,E203' --show-source --max-complexity=13 --max-line-length=119 --statistics
51
51
- name : Test with unittest
52
52
run : |
53
- python setup.py test
53
+ python -m unittest discover -s nginxctl/tests
You can’t perform that action at this time.
0 commit comments