Skip to content

Dependabot security alert #58

Dependabot security alert

Dependabot security alert #58

Workflow file for this run

name: Run tests
on: [pull_request]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ '3.9', '3.10']
postgres_version: ['14']
services:
db:
image: postgres:${{ matrix.postgres_version }}
env:
POSTGRES_DB: flow_results
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
ports:
- 5432:5432
env:
DATABASE_URL: postgres://postgres:postgres@localhost:5432/flow_results
name: Python ${{ matrix.python-version }} tests
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependancies
run: |
pip install -e .[dev]
- name: Lint
run: |
black --check .
isort -c .
flake8
- name: Test
run: |
coverage run manage.py test
coverage report