Skip to content

perf: reduce ORM lookups (#76) #59

perf: reduce ORM lookups (#76)

perf: reduce ORM lookups (#76) #59

Workflow file for this run

name: tox
on:
push:
branches:
- main
- develop
pull_request:
branches:
- main
- develop
jobs:
build:
runs-on: ubuntu-latest
services:
postgres:
image: postgres:14.9
env:
POSTGRES_USER: vitriolic
POSTGRES_PASSWORD: vitriolic
POSTGRES_DB: vitriolic
ports:
- 5432:5432
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
strategy:
max-parallel: 4
matrix:
python-version:
- 3.9
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install Dependencies
run: |
python -m pip install --upgrade pip
python -m pip install tox tox-docker
- name: Run Tests
run: |
pg_dump $DATABASE_URL
tox
env:
DATABASE_URL: postgres://vitriolic:vitriolic@localhost:5432/vitriolic