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: revert back to 2 connectors from 15 (#11520)

CHALLA NISHANTH BABUc6dca794d7ad
diff --git a/.github/workflows/cypress-tests-runner.yml b/.github/workflows/cypress-tests-runner.yml
index da4a72a375..37676a9c00 100644
--- a/.github/workflows/cypress-tests-runner.yml
+++ b/.github/workflows/cypress-tests-runner.yml
@@ -16,14 +16,15 @@ concurrency:
env:
CARGO_INCREMENTAL: 0
CARGO_NET_RETRY: 10
- MANDATORY_PAYMENTS_CONNECTORS_BATCH_1: "cybersource stripe gigadat"
- MANDATORY_PAYMENTS_CONNECTORS_BATCH_2: "cryptopay finix nexixpay"
- MANDATORY_PAYMENTS_CONNECTORS_BATCH_3: "adyen checkout zift"
- MANDATORY_PAYMENTS_CONNECTORS_BATCH_4: "paypal fiuu"
- MANDATORY_PAYMENTS_CONNECTORS_BATCH_5: "authorizedotnet cashtocode loonio"
- OPTIONAL_PAYMENTS_CONNECTORS_BATCH_1: "worldpayxml worldpay volt"
- OPTIONAL_PAYMENTS_CONNECTORS_BATCH_2: "airwallex nmi redsys"
- OPTIONAL_PAYMENTS_CONNECTORS_BATCH_3: "redsys nuvei"
+ PAYMENTS_CONNECTORS: "stripe cybersource"
+ OPTIONAL_PAYMENTS_CONNECTORS_BATCH_1: "cryptopay finix nexixpay"
+ OPTIONAL_PAYMENTS_CONNECTORS_BATCH_2: "adyen checkout zift"
+ OPTIONAL_PAYMENTS_CONNECTORS_BATCH_3: "airwallex finix noon"
+ OPTIONAL_PAYMENTS_CONNECTORS_BATCH_4: "nmi fiuu gigadat"
+ OPTIONAL_PAYMENTS_CONNECTORS_BATCH_5: "worldpayxml worldpay loonio"
+ OPTIONAL_PAYMENTS_CONNECTORS_BATCH_6: "authorizedotnet cashtocode volt"
+ OPTIONAL_PAYMENTS_CONNECTORS_BATCH_7: "paypal novalnet redsys"
+ OPTIONAL_PAYMENTS_CONNECTORS_BATCH_8: "paypal nuvei"
ALPHA_PAYMENTS_CONNECTORS: "celero silverflow"
RUST_BACKTRACE: short
RUSTUP_MAX_RETRIES: 10
@@ -96,7 +97,7 @@ 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
+ runs-on: ubuntu-latest
env:
# Use `sccache` for caching compilation artifacts
RUSTC_WRAPPER: sccache
@@ -138,7 +139,7 @@ jobs:
- name: Build project
if: ${{ env.RUN_TESTS == 'true' }}
- run: cargo build --package router --bin router
+ run: cargo build --package router --bin router --jobs 3
- name: Upload binary artifact
if: ${{ env.RUN_TESTS == 'true' }}
@@ -148,76 +149,74 @@ jobs:
overwrite: true
path: target/debug/router
retention-days: 1
-
- prepare-mandatory-matrix:
- name: Prepare Mandatory Connectors matrix to run cypress tests
+
+ build-hyperswitch-runners:
+ name: Build hyperswitch server(hyperswitch-runners)
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
- outputs:
- mandatory-matrix: ${{ steps.set-mandatory-matrix.outputs.matrix }}
- steps:
- - name : Set matrix for mandatory connectors batches
- id: set-mandatory-matrix
+ env:
+ # Use `sccache` for caching compilation artifacts
+ RUSTC_WRAPPER: sccache
+ steps:
+ - name: Skip tests for PRs from forks
shell: bash
- run: |
- {
- echo "matrix<<EOF"
- echo '{
- "batch": [
- {
- "name": "batch-1",
- "connectors": "'"${MANDATORY_PAYMENTS_CONNECTORS_BATCH_1}"'",
- "parallel": 3,
- "report_artifact_name": "cypress-mandatory-test-results-batch-1",
- "server_logs_artifact": "server-logs-batch-1"
- },
- {
- "name": "batch-2",
- "connectors": "'"${MANDATORY_PAYMENTS_CONNECTORS_BATCH_2}"'",
- "parallel": 3,
- "report_artifact_name": "cypress-mandatory-test-results-batch-2",
- "server_logs_artifact": "server-logs-batch-2"
- },
- {
- "name": "batch-3",
- "connectors": "'"${MANDATORY_PAYMENTS_CONNECTORS_BATCH_3}"'",
- "parallel": 3,
- "report_artifact_name": "cypress-mandatory-test-results-batch-3",
- "server_logs_artifact": "server-logs-batch-3"
- },
- {
- "name": "batch-4",
- "connectors": "'"${MANDATORY_PAYMENTS_CONNECTORS_BATCH_4}"'",
- "parallel": 3,
- "report_artifact_name": "cypress-mandatory-test-results-batch-4",
- "server_logs_artifact": "server-logs-batch-4"
- },
- {
- "name": "batch-5",
- "connectors": "'"${MANDATORY_PAYMENTS_CONNECTORS_BATCH_5}"'",
- "parallel": 3,
- "report_artifact_name": "cypress-mandatory-test-results-batch-5",
- "server_logs_artifact": "server-logs-batch-5"
- }
- ]
- }'
- echo "EOF"
- } >> "$GITHUB_OUTPUT"
+ if: ${{ env.RUN_TESTS == 'false' }}
+ run: echo 'Skipping tests for PRs from forks'
+
+ - name: Checkout repository
+ if: ${{ env.RUN_TESTS == 'true' }}
+ uses: actions/checkout@v5
+
+ - name: Install mold linker
+ if: ${{ env.RUN_TESTS == 'true' }}
+ uses: rui314/setup-mold@v1
+ with:
+ make-default: true
+
+ - name: Install Rust
+ if: ${{ env.RUN_TESTS == 'true' }}
+ uses: dtolnay/rust-toolchain@master
+ with:
+ toolchain: stable 2 weeks ago
+ components: clippy
+
+ - name: Install Protoc
+ if: ${{ env.RUN_TESTS == 'true' }}
+ uses: arduino/setup-protoc@v3
+ with:
+ repo-token: ${{ secrets.GITHUB_TOKEN }}
- mandatory-cypress-tests:
+ - name: Install sccache
+ if: ${{ env.RUN_TESTS == 'true' }}
+ uses: taiki-e/install-action@v2
+ with:
+ tool: sccache
+ checksum: true
+
+ - name: Build project
+ if: ${{ env.RUN_TESTS == 'true' }}
+ run: cargo build --package router --bin router
+
+ - name: Upload binary artifact
+ if: ${{ env.RUN_TESTS == 'true' }}
+ uses: actions/upload-artifact@v7
+ with:
+ name: hyperswitch-server-hyperswitch-runners
+ overwrite: true
+ path: target/debug/router
+ retention-days: 1
+
+ runner:
name: Run mandatory Cypress tests
- needs: [build-hyperswitch, prepare-mandatory-matrix]
+ needs: build-hyperswitch
if: |
- (github.event_name == 'merge_group' ||
- (github.event_name == 'pull_request' && contains(github.event.pull_request.labels.*.name, 'S-test-ready')))
+ github.event_name == 'merge_group' ||
+ (github.event_name == 'pull_request' && contains(github.event.pull_request.labels.*.name, 'S-test-ready'))
permissions:
pull-requests: write
- runs-on: hyperswitch-runners
- strategy:
- fail-fast: false
- matrix: ${{ fromJson(needs.prepare-mandatory-matrix.outputs['mandatory-matrix']) }}
+ runs-on: ubuntu-latest
env:
# Use `sccache` for caching compilation artifacts
RUSTC_WRAPPER: sccache
@@ -303,7 +302,6 @@ jobs:
shell: bash
run: |
echo "CYPRESS_CONNECTOR_AUTH_FILE_PATH=${{ github.workspace }}/.github/test/creds.json" >> $GITHUB_ENV
- echo "SERVER_LOG_PATH=${{ github.workspace }}/server-logs.txt" >> $GITHUB_ENV
- name: Fetch keys
if: ${{ env.RUN_TESTS == 'true' }}
@@ -363,16 +361,14 @@ jobs:
ROUTER__APPLEPAY_DECRYPT_KEYS__APPLE_PAY_PPC_KEY: ${{ secrets.APPLE_PAY_PAYMENT_PROCESSING_CERTIFICATE_KEY }}
ROUTER__APPLEPAY_DECRYPT_KEYS__APPLE_PAY_MERCHANT_CERT: ${{ secrets.APPLE_PAY_MERCHANT_CERTIFICATE }}
ROUTER__APPLEPAY_DECRYPT_KEYS__APPLE_PAY_MERCHANT_CERT_KEY: ${{ secrets.APPLE_PAY_MERCHANT_CERTIFICATE_KEY }}
- SERVER_LOG_PATH: ${{ github.workspace }}/server-logs.txt
run: |
- touch "${{ env.SERVER_LOG_PATH }}"
# Start the server in the background
+ target/debug/router &
- target/debug/router >> "${{ env.SERVER_LOG_PATH }}" 2>&1 &
SERVER_PID=$!
echo "PID=${SERVER_PID}" >> $GITHUB_ENV
- # Wait for the server to start in port 8080
+ # Wait for the server to start in port 8080
COUNT=0
while ! nc -z localhost 8080; do
if [ $COUNT -gt 12 ]; then # Wait for up to 2 minutes (12 * 10 seconds)
@@ -390,74 +386,237 @@ jobs:
env:
CYPRESS_BASEURL: "http://localhost:8080"
ROUTER__SERVER__WORKERS: 4
- PAYMENTS_CONNECTORS: "${{ matrix.batch.connectors }}"
shell: bash -leuo pipefail {0}
run: |
- scripts/execute_cypress.sh --parallel ${{ matrix.batch.parallel }}
+ scripts/execute_cypress.sh
kill "${{ env.PID }}"
-
- - name: Upload server logs on failure
- if: env.RUN_TESTS == 'true' && failure()
- uses: actions/upload-artifact@v7
- with:
- name: ${{ matrix.batch.server_logs_artifact }}
- path: ${{ env.SERVER_LOG_PATH }}
- if-no-files-found: ignore
- retention-days: 1
- name: Upload Cypress test results
if: env.RUN_TESTS == 'true' && failure()
uses: actions/upload-artifact@v7
with:
- name: ${{ matrix.batch.report_artifact_name }}
+ name: cypress-test-results-mandatory-github-runners
path: |
cypress-tests/cypress/reports/
retention-days: 1
- mandatory-cypress-tests-consolidated-result:
- name: Mandatory Cypress Tests — Consolidated Result
- needs: [mandatory-cypress-tests]
- runs-on: ubuntu-latest
+ - name: Remove S-test-ready label on failure of mandatory Cypress tests
+ if: failure() && env.RUN_TESTS == 'true' && github.event_name != 'merge_group'
+ env:
+ GH_TOKEN: ${{ github.token }}
+ run: |
+ gh pr edit ${{ github.event.pull_request.number }} --remove-label "S-test-ready" --repo ${{ github.repository }}
+
+ runner-hyperswitch-runners:
+ name: Run mandatory Cypress tests (hyperswitch-runners)
+ needs: build-hyperswitch-runners
if: |
- (github.event_name == 'merge_group' ||
- (github.event_name == 'pull_request' &&
- contains(github.event.pull_request.labels.*.name, 'S-test-ready'))) && !cancelled()
+ github.event_name == 'merge_group' ||
+ (github.event_name == 'pull_request' && contains(github.event.pull_request.labels.*.name, 'S-test-ready'))
permissions:
pull-requests: write
+ runs-on: hyperswitch-runners
+ env:
+ # Use `sccache` for caching compilation artifacts
+ RUSTC_WRAPPER: sccache
+
+ services:
+ redis:
+ image: "public.ecr.aws/docker/library/redis:alpine"
+ options: >-
+ --health-cmd "redis-cli ping"
+ --health-interval 10s
+ --health-timeout 5s
+ --health-retries 5
+ ports:
+ - 6379:6379
+ postgres:
+ image: "public.ecr.aws/docker/library/postgres:alpine"
+ env:
+ POSTGRES_USER: db_user
+ POSTGRES_PASSWORD: db_pass
+ POSTGRES_DB: hyperswitch_db
+ options: >-
+ --health-cmd pg_isready
+ --health-interval 10s
+ --health-timeout 5s
+ --health-retries 5
+ ports:
+ - 5432:5432
+
steps:
- - name: Evaluate Matrix Results
+ - name: Skip tests for PRs from forks
+ if: ${{ env.RUN_TESTS == 'false' }}
+ shell: bash
+ run: echo 'Skipping tests for PRs from forks'
+
+ - name: Checkout repository
+ if: ${{ env.RUN_TESTS == 'true' }}
+ uses: actions/checkout@v5
+
+ - name: Install Rust
+ if: ${{ env.RUN_TESTS == 'true' }}
+ uses: dtolnay/rust-toolchain@master
+ with:
+ toolchain: stable 2 weeks ago
+ components: rustfmt
+
+ - name: Install sccache
+ if: ${{ env.RUN_TESTS == 'true' }}
+ uses: taiki-e/install-action@v2
+ with:
+ tool: sccache
+ checksum: true
+
+ - name: Download hyperswitch server artifact
+ if: ${{ env.RUN_TESTS == 'true' }}
+ uses: actions/download-artifact@v8
+ with:
+ name: hyperswitch-server-hyperswitch-runners
+ path: target/debug
+
+ - name: Make server executable
+ if: ${{ env.RUN_TESTS == 'true' }}
+ run: chmod +x target/debug/router
+
+ - name: Download Encrypted TOML from S3 and Decrypt
+ if: ${{ env.RUN_TESTS == 'true' }}
+ env:
+ AWS_ACCESS_KEY_ID: ${{ secrets.CONNECTOR_CREDS_AWS_ACCESS_KEY_ID }}
+ AWS_REGION: ${{ secrets.CONNECTOR_CREDS_AWS_REGION }}
+ AWS_SECRET_ACCESS_KEY: ${{ secrets.CONNECTOR_CREDS_AWS_SECRET_ACCESS_KEY }}
+ CONNECTOR_AUTH_PASSPHRASE: ${{ secrets.CONNECTOR_AUTH_PASSPHRASE }}
+ CONNECTOR_CREDS_S3_BUCKET_URI: ${{ secrets.CONNECTOR_CREDS_S3_BUCKET_URI}}
+ DESTINATION_FILE_NAME: "creds.json.gpg"
+ S3_SOURCE_FILE_NAME: "30a03d83-4c21-440b-ab65-c70397f255ae.json.gpg"
shell: bash
+ run: |
+ mkdir -p ".github/secrets" ".github/test"
+
+ aws s3 cp "${CONNECTOR_CREDS_S3_BUCKET_URI}/${S3_SOURCE_FILE_NAME}" ".github/secrets/${DESTINATION_FILE_NAME}"
+ gpg --quiet --batch --yes --decrypt --passphrase="${CONNECTOR_AUTH_PASSPHRASE}" --output ".github/test/creds.json" ".github/secrets/${DESTINATION_FILE_NAME}"
+
+ - name: Set paths in env
+ if: ${{ env.RUN_TESTS == 'true' }}
+ shell: bash
+ run: |
+ echo "CYPRESS_CONNECTOR_AUTH_FILE_PATH=${{ github.workspace }}/.github/test/creds.json" >> $GITHUB_ENV
+ echo "SERVER_LOG_PATH=${{ github.workspace }}/server-logs.txt" >> $GITHUB_ENV
+
+ - name: Fetch keys
+ if: ${{ env.RUN_TESTS == 'true' }}
env:
- GH_TOKEN: ${{ github.token }}
+ TOML_PATH: "./config/development.toml"
run: |
- RESULT="${{ needs.mandatory-cypress-tests.result }}"
- RUN_TESTS_VAL="${{ env.RUN_TESTS }}"
+ LOCAL_ADMIN_API_KEY=$(yq '.secrets.admin_api_key' ${TOML_PATH})
+ echo "CYPRESS_ADMINAPIKEY=${LOCAL_ADMIN_API_KEY}" >> $GITHUB_ENV
- echo "mandatory-cypress-tests result: $RESULT"
- echo "Run tests env: $RUN_TESTS_VAL"
+ - name: Install Diesel CLI
+ if: ${{ env.RUN_TESTS == 'true' }}
+ uses: baptiste0928/[email protected]
+ with:
+ crate: diesel_cli
+ features: postgres
+ args: --no-default-features
- if [ "$RUN_TESTS_VAL" == "false" ]; then
- echo "Tests were skipped (Fork PR). Marking as success."
- exit 0
- fi
+ - name: Install Just
+ if: ${{ env.RUN_TESTS == 'true' }}
+ uses: taiki-e/install-action@v2
+ with:
+ tool: just
+ checksum: true
+
+ - name: Install Node.js
+ if: ${{ env.RUN_TESTS == 'true' }}
+ uses: actions/setup-node@v4
+ with:
+ node-version: "24"
+
+ - name: Install Cypress and dependencies
+ if: ${{ env.RUN_TESTS == 'true' }}
+ run: |
+ npm ci --prefix ./cypress-tests
- if [ "$RESULT" == "success" ]; then
- echo "All mandatory tests passed."
- exit 0
- else
- echo "Mandatory tests failed."
- if [ "${{ github.event_name }}" != "merge_group" ]; then
- echo "Removing 'S-test-ready' label from the PR."
- gh pr edit ${{ github.event.pull_request.number }} --remove-label "S-test-ready" --repo ${{ github.repository }}
+ - name: Run database migrations
+ if: ${{ env.RUN_TESTS == 'true' }}
+ shell: bash
+ env:
+ DATABASE_URL: postgres://db_user:db_pass@localhost:5432/hyperswitch_db
+ run: just migrate run --locked-schema
+
+ - name: Insert card info into the database
+ if: ${{ env.RUN_TESTS == 'true' }}
+ run: |
+ PGPASSWORD=db_pass psql --host=localhost --port=5432 --username=db_user --dbname=hyperswitch_db --command "\copy cards_info FROM '.github/data/cards_info.csv' DELIMITER ',' CSV HEADER;"
+
+ - name: Insert GSM info into the database
+ if: ${{ env.RUN_TESTS == 'true' }}
+ run: |
+ PGPASSWORD=db_pass psql --host=localhost --port=5432 --username=db_user --dbname=hyperswitch_db --command "\copy gateway_status_map FROM '.github/data/gateway_status_map.csv' DELIMITER ',' CSV HEADER;"
+
+ - name: Setup Local Server
+ if: ${{ env.RUN_TESTS == 'true' }}
+ env:
+ ROUTER__APPLEPAY_DECRYPT_KEYS__APPLE_PAY_PPC: ${{ secrets.APPLE_PAY_PAYMENT_PROCESSING_CERTIFICATE }}
+ ROUTER__APPLEPAY_DECRYPT_KEYS__APPLE_PAY_PPC_KEY: ${{ secrets.APPLE_PAY_PAYMENT_PROCESSING_CERTIFICATE_KEY }}
+ ROUTER__APPLEPAY_DECRYPT_KEYS__APPLE_PAY_MERCHANT_CERT: ${{ secrets.APPLE_PAY_MERCHANT_CERTIFICATE }}
+ ROUTER__APPLEPAY_DECRYPT_KEYS__APPLE_PAY_MERCHANT_CERT_KEY: ${{ secrets.APPLE_PAY_MERCHANT_CERTIFICATE_KEY }}
+ SERVER_LOG_PATH: ${{ github.workspace }}/server-logs.txt
+ run: |
+ touch "${{ env.SERVER_LOG_PATH }}"
+ # Start the server in the background
+
+ target/debug/router >> "${{ env.SERVER_LOG_PATH }}" 2>&1 &
+ SERVER_PID=$!
+ echo "PID=${SERVER_PID}" >> $GITHUB_ENV
+
+ # Wait for the server to start in port 8080
+ COUNT=0
+ while ! nc -z localhost 8080; do
+ if [ $COUNT -gt 12 ]; then # Wait for up to 2 minutes (12 * 10 seconds)
+ echo "Server did not start within a reasonable time. Exiting."
+ kill ${SERVER_PID}
+ exit 1
+ else
+ COUNT=$((COUNT+1))
+ sleep 10
fi
- exit 1
- fi
-# The optional connectors tests are currently disabled beacuse of the resource constraints on hyperswitch runners.
-# Few optional connectors are takng around 50 min beacuse of this there is a growing queue time for the jobs.
- prepare-optional-matrix:
+ done
+
+ - name: Run Cypress tests
+ if: ${{ env.RUN_TESTS == 'true' }}
+ env:
+ CYPRESS_BASEURL: "http://localhost:8080"
+ ROUTER__SERVER__WORKERS: 4
+ shell: bash -leuo pipefail {0}
+ run: |
+ scripts/execute_cypress.sh --parallel 2
+
+ kill "${{ env.PID }}"
+
+
+ - name: Upload server logs on failure
+ if: env.RUN_TESTS == 'true' && failure()
+ uses: actions/upload-artifact@v7
+ with:
+ name: hyperswitch-runners-server-logs
+ path: ${{ env.SERVER_LOG_PATH }}
+ if-no-files-found: ignore
+ retention-days: 1
+
+ - name: Upload Cypress test results
+ if: env.RUN_TESTS == 'true' && failure()
+ uses: actions/upload-artifact@v7
+ with:
+ name: cypress-test-results-mandatory-hyperswitch-runners
+ path: |
+ cypress-tests/cypress/reports/
+ retention-days: 1
+
+ prepare-matrix:
name: Prepare Optional Connectors matrix to run cypress tests
- if: false
+ if: github.event_name == 'merge_group'
runs-on: hyperswitch-runners
outputs:
matrix: ${{ steps.set-matrix.outputs.matrix }}
@@ -483,6 +642,41 @@ jobs:
"parallel": 3,
"report_artifact_name": "cypress-test-results-batch-2",
"server_logs_artifact": "server-logs-batch-2"
+ },
+ {
+ "name": "batch-3",
+ "connectors": "'"${OPTIONAL_PAYMENTS_CONNECTORS_BATCH_3}"'",
+ "parallel": 3,
+ "report_artifact_name": "cypress-test-results-batch-3",
+ "server_logs_artifact": "server-logs-batch-3"
+ },
+ {
+ "name": "batch-4",
+ "connectors": "'"${OPTIONAL_PAYMENTS_CONNECTORS_BATCH_4}"'",
+ "parallel": 3,
+ "report_artifact_name": "cypress-test-results-batch-4",
+ "server_logs_artifact": "server-logs-batch-4"
+ },
+ {
+ "name": "batch-5",
+ "connectors": "'"${OPTIONAL_PAYMENTS_CONNECTORS_BATCH_5}"'",
+ "parallel": 3,
+ "report_artifact_name": "cypress-test-results-batch-5",
+ "server_logs_artifact": "server-logs-batch-5"
+ },
+ {
+ "name": "batch-6",
+ "connectors": "'"${OPTIONAL_PAYMENTS_CONNECTORS_BATCH_6}"'",
+ "parallel": 3,
+ "report_artifact_name": "cypress-test-results-batch-6",
+ "server_logs_artifact": "server-logs-batch-6"
+ },
+ {
+ "name": "batch-7",
+ "connectors": "'"${OPTIONAL_PAYMENTS_CONNECTORS_BATCH_7}"'",
+ "parallel": 3,
+ "report_artifact_name": "cypress-test-results-batch-7",
+ "server_logs_artifact": "server-logs-batch-7"
}
]
}'
@@ -491,12 +685,12 @@ jobs:
runner-optional-connectors:
name: Run Optional Connectors Cypress tests
- if: false
- needs: [ build-hyperswitch, prepare-optional-matrix ]
+ if: github.event_name == 'merge_group'
+ needs: [ build-hyperswitch-runners, prepare-matrix ]
runs-on: hyperswitch-runners
strategy:
fail-fast: false
- matrix: ${{ fromJson(needs.prepare-optional-matrix.outputs.matrix) }}
+ matrix: ${{ fromJson(needs.prepare-matrix.outputs.matrix) }}
env:
# Use `sccache` for caching compilation artifacts
RUSTC_WRAPPER: sccache
@@ -658,7 +852,7 @@ jobs:
uses: actions/upload-artifact@v7
with:
name: ${{ matrix.batch.server_logs_artifact }}
- path: ${{ env.SERVER_LOG_PATH }}
+ path: ${{ env.SERVER_LOG_PATH }}
if-no-files-found: ignore
retention-days: 1
@@ -673,7 +867,7 @@ jobs:
runner_alpha:
name: Run optional Cypress tests for alpha connectors
- needs: build-hyperswitch
+ needs: build-hyperswitch-runners
if: |
github.event_name == 'pull_request' && contains(github.event.pull_request.labels.*.name, 'S-test-ready')
runs-on: hyperswitch-runners
@@ -718,7 +912,7 @@ jobs:
if: ${{ env.RUN_TESTS == 'true' }}
uses: actions/download-artifact@v8
with:
- name: hyperswitch-server
+ name: hyperswitch-server-hyperswitch-runners
path: target/debug
- name: Make server executable
@@ -1101,4 +1295,4 @@ jobs:
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ${{ env.CODECOV_FILE }}
- disable_search: true
+ disable_search: true
\ No newline at end of file