Skip to content

Docs and renames

Docs and renames #57

Workflow file for this run

name: test
on:
push:
branches:
- master
- main
pull_request:
jobs:
test:
runs-on: ubuntu-latest
services:
postgres:
image: postgres:17
ports:
- 5432:5432
env:
POSTGRES_PASSWORD: 'mysecretpassword'
POSTGRES_USER: 'lbillaud'
POSTGRES_DB: 'cigogne_test'
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
steps:
- uses: actions/checkout@v4
- run: psql -f test/setup_test_db.sql postgres://lbillaud:mysecretpassword@localhost:5432/cigogne_test
- uses: erlef/setup-beam@v1
with:
otp-version: "27.1.2"
gleam-version: "1.11.1"
rebar3-version: "3"
# elixir-version: "1.15.4"
- run: gleam deps download
- run: gleam test
- run: gleam format --check src test