From 63880df6081d3d99e75aa8b49cd0d5b0ffc5f3e8 Mon Sep 17 00:00:00 2001 From: D-Pankey <30415217+D-Pankey@users.noreply.github.com> Date: Thu, 4 May 2023 14:06:28 -0400 Subject: [PATCH] coverage --- .github/workflows/github-actions.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/github-actions.yml b/.github/workflows/github-actions.yml index b02bb556..9a662143 100644 --- a/.github/workflows/github-actions.yml +++ b/.github/workflows/github-actions.yml @@ -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/python-django-coverage-gitHub-action@0.9 - with: - minimum-coverage: '75' env: RIDGEBACK_DB_NAME: github_actions RIDGEBACK_DB_PASSWORD: postgres