Skip to content

Development Environment #1156

Development Environment

Development Environment #1156

Workflow file for this run

name: Development Environment
on:
schedule:
- cron: '0 13 * * *' # once a day at around 9am eastern
workflow_dispatch:
jobs:
build:
# TODO: Should we test on other platforms like Windows and Mac?
runs-on: ubuntu-24.04
permissions:
contents: read
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- run: make build
# Run migrations against a db-only stack first, mirroring `make serve`.
# Bringing the full app stack up before migrating lets live web/worker
# connections contend with migrations that intentionally use short
# lock/statement timeouts for production deploys, causing flaky
# statement-timeout and deadlock failures.
- run: make initdb
- run: docker compose up -d
- run: docker compose ps
- run: make tests