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
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: PR Checks
name: Signoff commit

env:
# Base for the PR
Expand All @@ -8,13 +8,16 @@ env:
PR_HEAD_REPO: ${{ github.event.pull_request.head.repo.clone_url }}

on:
push:
branches: [main]
pull_request:
types: [opened, synchronize, reopened]
workflow_dispatch:

jobs:
signoff-checks:
name: signoff
runs-on: ubuntu-latest
runs-on: warp-ubuntu-latest-arm64-32x

services:
postgres:
Expand Down Expand Up @@ -66,7 +69,7 @@ jobs:
otp-version: '27.x'

- name: Set up Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: '20.11.0'
cache: 'npm'
Expand All @@ -79,14 +82,14 @@ jobs:
check-latest: true

- name: Cache Elixir deps
uses: actions/cache@v3
uses: WarpBuilds/cache@v1
with:
path: deps
key: ${{ runner.os }}-mix-${{ hashFiles('**/mix.lock') }}
restore-keys: ${{ runner.os }}-mix-

- name: Cache build artifacts
uses: actions/cache@v3
uses: WarpBuilds/cache@v1
with:
path: _build
key: ${{ runner.os }}-build-${{ hashFiles('**/mix.lock') }}
Expand All @@ -102,7 +105,7 @@ jobs:
run: MIX_ENV=prod mix compile --warnings-as-errors

- name: Run Elixir tests
run: mix test --max-cases 2 # slow actions runner
run: mix test --max-cases 8

- name: Run CLI tests
run: |
Expand Down
6 changes: 3 additions & 3 deletions test/sequin_web/controllers/yaml_controller_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -133,11 +133,11 @@ defmodule SequinWeb.YamlControllerTest do
hostname: localhost
pool_size: 10
username: postgres
password: '********'
password: postgres
database: sequin_test
slot_name: sequin_slot
slot_name: "#{replication_slot()}"
use_local_tunnel: false
publication_name: characters_publication
publication_name: "#{@publication}"
http_endpoints:
- name: test_http_endpoint
url: http://localhost:4000/something
Expand Down
Loading