Skip to content

update allowed hosts #709

update allowed hosts

update allowed hosts #709

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