Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -253,9 +253,11 @@ jobs:
env:
TEST_DATABASE_URL: postgres://postgres:postgres@localhost:5432/postgres?sslmode=disable
# A disposable server for the database tests, and for the browser suite.
# Pushes to main run no test, so they start no service: GitHub skips a
# service whose image is empty.
services:
postgres: &postgres
image: postgres:18-bookworm
image: ${{ github.event_name != 'push' && 'postgres:18-bookworm' || '' }}
env:
POSTGRES_PASSWORD: postgres
ports: ['5432:5432']
Expand Down Expand Up @@ -306,9 +308,9 @@ jobs:
services:
postgres: *postgres
# Receives auth's email over plain SMTP on the loopback address, and lets
# the suite read it from its API.
# the suite read it from its API. Not started on main, like Postgres.
mailpit:
image: axllent/mailpit:v1.27
image: ${{ github.event_name != 'push' && 'axllent/mailpit:v1.27' || '' }}
ports: ['1025:1025', '8025:8025']
env:
E2E_AUTH_URL: https://localhost:3443
Expand Down
2 changes: 1 addition & 1 deletion docs/dev/testing.md
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ merge queue start from, since GitHub lets every branch read `main`'s caches:
rustdoc, and compiles the doc tests without running them. `rust` runs
`just coverage-build` and `just db check`, `e2e` builds the binaries without
starting the browser suite, and `infra` installs piquelctl without checking
the manifests.
the manifests. `rust` and `e2e` start no Postgres or Mailpit.

A commit's coverage report is in its merge queue run.

Expand Down