Skip to content

Health check limits #231

Health check limits

Health check limits #231

Workflow file for this run

name: Tests
on:
workflow_dispatch:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
test:
runs-on: ubuntu-latest
services:
db:
image: postgres
env:
POSTGRES_DB: catalog
POSTGRES_USER: catalog
POSTGRES_PASSWORD: anewpassword
ports:
- 5432:5432
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.9
uses: actions/setup-python@v3
with:
python-version: 3.9
- name: Install Dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Run Tests
run: |
coverage run --source='.' manage.py test
- name: Coverage Report
run: |
coverage report --format=markdown >> $GITHUB_STEP_SUMMARY