File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -193,7 +193,10 @@ jobs:
193193 -W "ignore:unclosed:ResourceWarning:roundup.roundup.demo" \
194194 -W "ignore:unclosed file:ResourceWarning:enum" \
195195 -v test/test_actions.py --cov=roundup
196- coverage lcov
196+ if [[ "$PYTHON_VERSION" != "3.6" ]]; then
197+ # coverage before 3.6 doesn't support lcov output
198+ coverage lcov
199+ fi
197200 else
198201 # python2 case
199202 pytest -v -r a test/test_actions.py --cov=roundup
@@ -207,8 +210,8 @@ jobs:
207210 token : ${{ secrets.CODECOV_TOKEN }}
208211
209212 - name : Upload coverage to Coveralls
210- # python 2.7 version of codecov can't produce lcov files.
211- if : matrix.python-version != '2.7'
213+ # python 2.7 and 3.6 versions of coverage can't produce lcov files.
214+ if : matrix.python-version != '2.7' && matrix.python-version != '3.6'
212215 uses : coverallsapp/github-action@master
213216 with :
214217 github-token : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments