Skip to content

Commit c17313d

Browse files
committed
👷 Tweaks to pr-checks.yml (now: signoff-commit.yml)
1 parent a7842cf commit c17313d

File tree

2 files changed

+12
-9
lines changed

2 files changed

+12
-9
lines changed
Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: PR Checks
1+
name: Signoff commit
22

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

1010
on:
11+
push:
12+
branches: [main]
1113
pull_request:
1214
types: [opened, synchronize, reopened]
15+
workflow_dispatch:
1316

1417
jobs:
1518
signoff-checks:
1619
name: signoff
17-
runs-on: ubuntu-latest
20+
runs-on: warp-ubuntu-latest-arm64-32x
1821

1922
services:
2023
postgres:
@@ -66,7 +69,7 @@ jobs:
6669
otp-version: '27.x'
6770

6871
- name: Set up Node.js
69-
uses: actions/setup-node@v3
72+
uses: actions/setup-node@v4
7073
with:
7174
node-version: '20.11.0'
7275
cache: 'npm'
@@ -79,14 +82,14 @@ jobs:
7982
check-latest: true
8083

8184
- name: Cache Elixir deps
82-
uses: actions/cache@v3
85+
uses: WarpBuilds/cache@v1
8386
with:
8487
path: deps
8588
key: ${{ runner.os }}-mix-${{ hashFiles('**/mix.lock') }}
8689
restore-keys: ${{ runner.os }}-mix-
8790

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

104107
- name: Run Elixir tests
105-
run: mix test --max-cases 2 # slow actions runner
108+
run: mix test --max-cases 8
106109

107110
- name: Run CLI tests
108111
run: |

test/sequin_web/controllers/yaml_controller_test.exs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -133,11 +133,11 @@ defmodule SequinWeb.YamlControllerTest do
133133
hostname: localhost
134134
pool_size: 10
135135
username: postgres
136-
password: '********'
136+
password: postgres
137137
database: sequin_test
138-
slot_name: sequin_slot
138+
slot_name: "#{replication_slot()}"
139139
use_local_tunnel: false
140-
publication_name: characters_publication
140+
publication_name: "#{@publication}"
141141
http_endpoints:
142142
- name: test_http_endpoint
143143
url: http://localhost:4000/something

0 commit comments

Comments
 (0)