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:
1717 - uses : actions/checkout@v4
1818 - name : Install dependencies
1919 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
2323 - name : Lint with flake8
2424 run : |
25- pip install flake8
25+ pip2 install flake8
2626 flake8 . --count --select=$(printf '%s,' {A..Z}) --ignore='W503,E203' --show-source --max-complexity=13 --max-line-length=119 --statistics
2727 - name : Test with unittest
28- run : python -m unittest discover -s nginxctl/tests
28+ run : python2 setup.py test
2929
3030 build :
3131
5050 flake8 . --count --select=$(printf '%s,' {A..Z}) --ignore='W503,E203' --show-source --max-complexity=13 --max-line-length=119 --statistics
5151 - name : Test with unittest
5252 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