Troubleshoot GitHub Actions.
This commit is contained in:
1 parent
ccfdc944c9
commit
91f810f359
1 file changed
+3
-2
@@ -25,7 +25,7 @@ jobs:
|
||||
python-version: ${{ matrix.python-version }}
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
python -m pip install --upgrade pip setuptools wheel
|
||||
pip install flake8 pytest
|
||||
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
|
||||
- name: Lint with flake8
|
||||
@@ -36,4 +36,5 @@ jobs:
|
||||
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
|
||||
- name: Test with pytest
|
||||
run: |
|
||||
pytest
|
||||
pip install pytest
|
||||
python -m pytest
|
||||
Reference in new issue
Block a user