Skip to content

Regenerate example project #11

Regenerate example project

Regenerate example project #11

Workflow file for this run

name: Run tests
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
- uses: snok/install-poetry@v1
- name: Configure git
run: |
git config --global user.email "[email protected]"
git config --global user.name "My Name"
- run: ./test.sh
env:
DATABASE_URL: postgresql://postgres:postgrespass@localhost:5432/testdb
services:
postgres:
image: postgres
env:
POSTGRES_PASSWORD: postgrespass
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
ports:
- 5432:5432