Skip to content

Update README.md - section on performance #45

Update README.md - section on performance

Update README.md - section on performance #45

Workflow file for this run

name: Python application test with pytest
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
services:
# Label used to access the service container
postgres:
# Docker Hub image
image: postgres
# Provide the password for postgres
env:
POSTGRES_PASSWORD: postgrespass
# Set health checks to wait until postgres has started
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
ports:
# Maps tcp port 5432 on service container to the host
- 5432:5432
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/python
- name: Run pytest
run: poetry run pytest
env:
DATABASE_URL: postgresql://postgres:postgrespass@localhost:5432/django_goals