From 51940a673ff99d1723e94fd6cefa5e433f80430e Mon Sep 17 00:00:00 2001 From: sbansla Date: Thu, 22 Feb 2024 10:53:05 +0530 Subject: [PATCH] chore: cluster tests enabled --- .github/workflows/test-and-deploy.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/test-and-deploy.yml b/.github/workflows/test-and-deploy.yml index 1457c53c8..e515a407e 100644 --- a/.github/workflows/test-and-deploy.yml +++ b/.github/workflows/test-and-deploy.yml @@ -45,15 +45,15 @@ jobs: - name: Run Unit Tests run: make test -# - name: Run Cluster Test -# if: (!github.event.pull_request.head.repo.fork) -# env: -# TWILIO_ACCOUNT_SID: ${{ secrets.TWILIO_ACCOUNT_SID }} -# TWILIO_API_KEY: ${{ secrets.TWILIO_CLUSTER_TEST_API_KEY}} -# TWILIO_API_SECRET: ${{ secrets.TWILIO_CLUSTER_TEST_API_KEY_SECRET }} -# TWILIO_FROM_NUMBER: ${{ secrets.TWILIO_FROM_NUMBER }} -# TWILIO_TO_NUMBER: ${{ secrets.TWILIO_TO_NUMBER }} -# run: make cluster-test + - name: Run Cluster Test + if: (!github.event.pull_request.head.repo.fork) + env: + TWILIO_ACCOUNT_SID: ${{ secrets.TWILIO_ACCOUNT_SID }} + TWILIO_API_KEY: ${{ secrets.TWILIO_CLUSTER_TEST_API_KEY}} + TWILIO_API_SECRET: ${{ secrets.TWILIO_CLUSTER_TEST_API_KEY_SECRET }} + TWILIO_FROM_NUMBER: ${{ secrets.TWILIO_FROM_NUMBER }} + TWILIO_TO_NUMBER: ${{ secrets.TWILIO_TO_NUMBER }} + run: make cluster-test - name: Fix code coverage paths if: ${{ (github.event_name == 'pull_request' || github.ref_type == 'branch') && matrix.ruby == '3.0' && !github.event.pull_request.head.repo.fork }}