File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 1616 strategy :
1717 max-parallel : 4
1818 matrix :
19- python-version : [2.7, 3.7 ]
19+ python-version : ['2.x', '3.x' ]
2020 env :
2121 MYGEOTAB_DATABASE : ${{ secrets.MYGEOTAB_DATABASE }}
2222 MYGEOTAB_USERNAME : ${{ secrets.MYGEOTAB_USERNAME }}
@@ -42,15 +42,15 @@ jobs:
4242 # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
4343 pipenv run flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
4444 - name : Test with pytest (Python 3)
45- if : matrix.python-version >= 3.5
45+ if : matrix.python-version > 3.5
4646 run : |
47- pipenv run py.test --cov-config .coveragerc --cov-report xml:output/coverage.xml --cov mygeotab --junitxml output/python-test-results.xml --benchmark-min-rounds=3 --benchmark-storage=file://output/ --benchmark-autosave tests/
47+ pipenv run py.test --cov-config .coveragerc --cov-report xml:output/coverage.xml --cov mygeotab --junitxml output/python${{ matrix.python-version }} -test-results.xml --benchmark-min-rounds=3 --benchmark-storage=file://output/ --benchmark-autosave tests/
4848 - name : Test with pytest (Python 2)
4949 if : matrix.python-version < 3
5050 run : |
51- pipenv run py.test --ignore-glob='*_async.py' --junitxml output/python-test-results.xml --benchmark-min-rounds=3 --benchmark-storage=file://output/ --benchmark-autosave tests/
51+ pipenv run py.test --ignore-glob='*_async.py' --junitxml output/python${{ matrix.python-version }} -test-results.xml --benchmark-min-rounds=3 --benchmark-storage=file://output/ --benchmark-autosave tests/
5252 - name : Upload coverage to Codecov
53- if : matrix.python-version >= 3.5
53+ if : matrix.python-version >= 3.10
5454 uses : codecov/codecov-action@v1.0.3
5555 with :
5656 token : ${{secrets.CODECOV_TOKEN}}
You can’t perform that action at this time.
0 commit comments