Skip to content

Update accessibility question #745

Update accessibility question

Update accessibility question #745

Workflow file for this run

name: Test Application
on: [push]
env:
MAILGUN_API_KEY: ${{ secrets.MAILGUN_API_KEY }}
SECRET_KEY: ${{ secrets.SECRET_KEY }}
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
jobs:
django-tests:
name: 'Run unit tests'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build the stack
run: docker-compose run web python3 manage.py test
coverage:
name: 'Check test coverage'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build the stack
run: docker-compose build
- name: Create coverage XML report
run: docker-compose run web /bin/bash -c "coverage run --source='.' manage.py test && coverage xml"
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
with:
file: hiss/coverage.xml
name: codecov-umbrella
fail_ci_if_error: true