Skip to content

Update README and test database #292

Update README and test database

Update README and test database #292

Workflow file for this run

name: Test
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: "3.10"
- uses: actions/cache@v2
name: Configure pip caching
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('requirements/*.txt') }}
restore-keys: |
${{ runner.os }}-pip-
- name: Install dependencies
run: |
pip install \
-r requirements/base.txt \
-r requirements/test.txt
- name: Check formatting
run: black . --check
- name: Run Python tests
run: coverage run ./manage.py test --keepdb
- name: Report test coverage
run: coverage report --show-missing