From 6c7c57e92a7b1bce419d2be3c94c88e471555fe1 Mon Sep 17 00:00:00 2001 From: HiteshRepo Date: Mon, 29 Jan 2024 15:18:21 +0530 Subject: [PATCH] run only one test for trusted tests --- .github/workflows/ci.yml | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 377e76309..030fbe3ea 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -187,9 +187,30 @@ jobs: -failfast \ -p 1 \ -timeout 20m \ - ./... \ + -run ./internal/operations/test/m365/exchange \ 2>&1 | tee /tmp/corso-trusted-testlog/gotest-ci.log + # # run the tests + # - name: Integration Tests + # env: + # AZURE_CLIENT_ID: ${{ secrets[env.AZURE_CLIENT_ID_NAME] }} + # AZURE_CLIENT_SECRET: ${{ secrets[env.AZURE_CLIENT_SECRET_NAME] }} + # AZURE_TENANT_ID: ${{ secrets.TENANT_ID }} + # CORSO_CI_TESTS: true + # CORSO_M365_TEST_USER_ID: ${{ vars.CORSO_M365_TEST_USER_ID }} + # CORSO_SECONDARY_M365_TEST_USER_ID: ${{ vars.CORSO_SECONDARY_M365_TEST_USER_ID }} + # CORSO_PASSPHRASE: ${{ secrets.INTEGRATION_TEST_CORSO_PASSPHRASE }} + # S3_BUCKET: ${{ secrets.CI_TESTS_S3_BUCKET }} + # run: | + # set -euo pipefail + # go test \ + # -tags testing \ + # -failfast \ + # -p 1 \ + # -timeout 20m \ + # ./... \ + # 2>&1 | tee /tmp/corso-trusted-testlog/gotest-ci.log + # Upload the original go test output as an artifact for later review. - name: Upload test log if: always()