Skip to content

Set PGHOST in CI

Set PGHOST in CI #257

Workflow file for this run

name: Klix Pipeline
on:
push:
branches:
- main
- ci
workflow_dispatch:
schedule:
- cron: "0 0 * * *"
pull_request:
jobs:
nixos-tests:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main
- run: nix flake check --print-build-logs
web-tests:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main
- env:
AWS_ACCESS_KEY_ID: rustfsadmin
AWS_SECRET_ACCESS_KEY: rustfsadmin
PGHOST: /tmp/postgresql
working-directory: web
shell: nix develop . --command bash {0}
run: |
postgres-start
s3dev &
mix deps.get
mix test