Skip to content

Merge pull request #4 from jarnoln/dependabot/pip/djangorestframework… #98

Merge pull request #4 from jarnoln/dependabot/pip/djangorestframework…

Merge pull request #4 from jarnoln/dependabot/pip/djangorestframework… #98

Workflow file for this run

name: Django CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
max-parallel: 4
matrix:
python-version: [3.9]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install Dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install coverage
pip install codecov
- name: Run Tests
run: |
python atange/generate_site_config.py atange/site_config.py
python manage.py test
- name: Run coverage
run: |
coverage run manage.py test -v2
codecov
coverage report