File tree Expand file tree Collapse file tree 2 files changed +12
-9
lines changed
test/sequin_web/controllers Expand file tree Collapse file tree 2 files changed +12
-9
lines changed Original file line number Diff line number Diff line change 1- name : PR Checks
1+ name : Signoff commit
22
33env :
44 # Base for the PR
88 PR_HEAD_REPO : ${{ github.event.pull_request.head.repo.clone_url }}
99
1010on :
11+ push :
12+ branches : [main]
1113 pull_request :
1214 types : [opened, synchronize, reopened]
15+ workflow_dispatch :
1316
1417jobs :
1518 signoff-checks :
1619 name : signoff
17- runs-on : ubuntu-latest
20+ runs-on : warp- ubuntu-latest-arm64-32x
1821
1922 services :
2023 postgres :
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 : |
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments