Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
ben-hampson committed May 29, 2021
2 parents caf62c4 + bac4ca5 commit 875d60b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ on:
env:
SECRET_KEY: cu_jpk8hpzci&et3rfn1n14*z@ur=o9v-m#%g^ex!iiftfvh0m # Dummy key. Used here so that dependabot PRs
DEBUG: True # can be tested with GitHub Actions.
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_STORAGE_BUCKET_NAME: ${{ secrets.AWS_STORAGE_BUCKET_NAME }}

jobs:
build:
Expand Down Expand Up @@ -39,6 +42,7 @@ jobs:
uses: psf/black@stable
- name: Test with pytest and generate coverage report
run: |
python manage.py collectstatic
pytest --cov=./ --cov-report=xml
- name: "Upload coverage to Codecov"
uses: codecov/codecov-action@v1
Expand Down

0 comments on commit 875d60b

Please sign in to comment.