Created
June 13, 2022 08:41
-
-
Save twyle/069e65775b0bcb8e94e6066087f9a675 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 Action" | |
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" | |
github_token: | |
description: "The GitHub Token." | |
default: "" | |
outputs: | |
testcoverage: | |
description: "Whether or not the action was successful." | |
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