Skip to content
This repository was archived by the owner on Mar 4, 2024. It is now read-only.

markodjukic/django-coveragepy-github-action

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python Django coverage.py GitHub Action

Github Action to integrate Coverage.py with Django on every pull request. It comes with a bundled PostgreSQL DB to run the test against.

Inputs

django-app

The name of the Django app. Default:

minimum-coverage

Percentage of required coverage to consider it a valid commit. Default: 10

Outputs

success

Boolean value that indicates that the test run and coverage was successful.

Example usage

steps:
  - name: Checkout action
    uses: actions/checkout@v2
  - name: Django Coverage action
    uses: actions/[email protected]
    with:
      django-app: 'sample_app'
      minimum-coverage: '86'

About

Run coverage.py with django test - Github Action

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Dockerfile 52.8%
  • Shell 47.2%