Last active
May 29, 2022 07:56
-
-
Save twyle/acdce70682d4c835a465aaec3ccc5a4b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# action.yml | |
name: "Pytest Coverage Example" | |
description: "Use Pytest to show test coverage." | |
author: "Lyle Okoth" | |
inputs: | |
codedirectory: | |
description: "The directory containing the source code." | |
default: "The project root i.e '.'" | |
testdirectory: | |
description: "The directory containing the tests." | |
default: "tests\\" | |
pycovconfigfile: | |
description: "The pycov configuration file" | |
default: ".coveragerc" | |
pytestconfigfile: | |
description: "The pytest configuration file." | |
default: "setup.cfg" | |
outputs: | |
testcoverage: | |
description: "The Test coverage." | |
runs: | |
using: "docker" | |
image: "Dockerfile" | |
branding: | |
icon: 'award' | |
color: 'green' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment