File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 1212 run :
1313 name : Run unit tests with codecov upload
1414 runs-on : ${{ matrix.os }}
15+ env :
16+ USING_COVERAGE : ' 3.7'
1517 strategy :
1618 matrix :
1719 os : [ubuntu-latest, macos-latest, windows-latest]
3133 pip install -r tests/test_requirements.txt
3234 pip install -e .
3335 pytest --cov=mkdocs_git_authors_plugin --cov-report=xml
34- - name : Upload coverage to Codecov
36+ - name : Upload coverage to Codecov
37+ if : " contains(env.USING_COVERAGE, matrix.python-version)"
3538 uses : codecov/codecov-action@v1
3639 with :
3740 token : ${{ secrets.CODECOV_TOKEN }}
Original file line number Diff line number Diff line change 11[ ![ Actions Status] ( https://github.com/timvink/mkdocs-git-authors-plugin/workflows/pytest/badge.svg )] ( https://github.com/timvink/mkdocs-git-authors-plugin/actions )
2-
32![ PyPI - Python Version] ( https://img.shields.io/pypi/pyversions/mkdocs-git-authors-plugin )
43![ PyPI] ( https://img.shields.io/pypi/v/mkdocs-git-authors-plugin )
54![ PyPI - Downloads] ( https://img.shields.io/pypi/dm/mkdocs-git-authors-plugin )
You can’t perform that action at this time.
0 commit comments