diff --git a/.github/workflows/pr-checks.yml b/.github/workflows/signoff-commit.yml similarity index 92% rename from .github/workflows/pr-checks.yml rename to .github/workflows/signoff-commit.yml index cd4a306e5..c82c30957 100644 --- a/.github/workflows/pr-checks.yml +++ b/.github/workflows/signoff-commit.yml @@ -1,4 +1,4 @@ -name: PR Checks +name: Signoff commit env: # Base for the PR @@ -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: @@ -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' @@ -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') }} @@ -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: | diff --git a/test/sequin_web/controllers/yaml_controller_test.exs b/test/sequin_web/controllers/yaml_controller_test.exs index 745943f32..079c5f821 100644 --- a/test/sequin_web/controllers/yaml_controller_test.exs +++ b/test/sequin_web/controllers/yaml_controller_test.exs @@ -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