Skip to content

Open source, composable payments platform | PCI compliant | SaaS and Self-host options | Enables connectivity to multiple payment, payout, fraud, vault and tokenization providers | Uplifts authorization with intelligent routing and revenue recovery | Reduce payment processing costs with cost observability | Reduces payment ops with reconciliation

ci: use hyperswitch-runners-merge for merge group checks (#12419)

CHALLA NISHANTH BABUe765e7aad9c3
diff --git a/.github/workflows/cypress-tests-runner.yml b/.github/workflows/cypress-tests-runner.yml
index 843892cb9b..4eb1eb8d56 100644
--- a/.github/workflows/cypress-tests-runner.yml
+++ b/.github/workflows/cypress-tests-runner.yml
@@ -97,7 +97,8 @@ jobs:
if: |
github.event_name == 'merge_group' ||
(github.event_name == 'pull_request' && contains(github.event.pull_request.labels.*.name, 'S-test-ready'))
- runs-on: hyperswitch-runners
+ # use hyperswitch-runners-merge for merge queue level checks
+ runs-on: ${{ case(github.event_name == 'merge_group', 'hyperswitch-runners-merge', 'hyperswitch-runners') }}
env:
# Use `sccache` for caching compilation artifacts
RUSTC_WRAPPER: sccache
@@ -155,7 +156,8 @@ jobs:
if: |
github.event_name == 'merge_group' ||
(github.event_name == 'pull_request' && contains(github.event.pull_request.labels.*.name, 'S-test-ready'))
- runs-on: hyperswitch-runners
+ # use hyperswitch-runners-merge for merge queue level checks
+ runs-on: ${{ case(github.event_name == 'merge_group', 'hyperswitch-runners-merge', 'hyperswitch-runners') }}
outputs:
mandatory-matrix: ${{ steps.set-mandatory-matrix.outputs.matrix }}
steps:
@@ -202,7 +204,8 @@ jobs:
(github.event_name == 'pull_request' && contains(github.event.pull_request.labels.*.name, 'S-test-ready')))
permissions:
pull-requests: write
- runs-on: hyperswitch-runners
+ # use hyperswitch-runners-merge for merge queue level checks
+ runs-on: ${{ case(github.event_name == 'merge_group', 'hyperswitch-runners-merge', 'hyperswitch-runners') }}
strategy:
fail-fast: false
matrix: ${{ fromJson(needs.prepare-mandatory-matrix.outputs['mandatory-matrix']) }}
@@ -689,7 +692,7 @@ jobs:
name: Extended Cypress Tests — Consolidated Result
needs: [extended-cypress-tests]
runs-on: ubuntu-latest
- if: ${{ !cancelled() }}
+ if: false
steps:
- name: Evaluate Matrix Results
shell: bash
@@ -1333,7 +1336,8 @@ jobs:
if: ${{ env.RUN_TESTS == 'true' }}
env:
RUSTFLAGS: "-Cinstrument-coverage"
- run: just build_v2 --jobs 3
+ CARGO_BUILD_JOBS: 6
+ run: just build_v2
- name: Setup Local Server
if: ${{ env.RUN_TESTS == 'true' }}