This action shows code coverage using pycov.
Required The directory containing the source code. Default "."
.
Required The directory containing the tests. Default "tests\"
.
Optional The pycov configuration file Default ".coveragerc"
.
Optional The pytest configuration file. Default "setup.cfg"
.
The Test coverage
- name: oryks code coverage action
id: selftest
uses: twyle/[email protected]
with:
codedirectory: src/
testdirectory: tests/
- name: action output
run: |
echo "${{ steps.selftest.outputs.testcoverage }}