Skip to content

Commit

Permalink
coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
D-Pankey committed May 4, 2023
1 parent 8b77b8d commit 63880df
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/github-actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,14 @@ jobs:
- name: Run migrations
run: python manage.py migrate
- name: Run test
run: python manage.py test
#run: python manage.py test
run: |
coverage run --source='.' manage.py test
coverage report -m --fail-under=75
- name: Run flake8
uses: suo/flake8-github-action@releases/v1
with:
checkName: 'build' # NOTE: this needs to be the same as the job name
- name: Django Coverage action
uses: actions/[email protected]
with:
minimum-coverage: '75'
env:
RIDGEBACK_DB_NAME: github_actions
RIDGEBACK_DB_PASSWORD: postgres
Expand Down

0 comments on commit 63880df

Please sign in to comment.