run test for only config pkg
This commit is contained in:
parent
8956d2642c
commit
46770fb12b
26
.github/workflows/ci.yml
vendored
26
.github/workflows/ci.yml
vendored
@ -266,8 +266,7 @@ jobs:
|
|||||||
role-session-name: integration-testing
|
role-session-name: integration-testing
|
||||||
aws-region: us-east-1
|
aws-region: us-east-1
|
||||||
|
|
||||||
# run the tests
|
- name: One Test
|
||||||
- name: Retention Tests
|
|
||||||
env:
|
env:
|
||||||
AZURE_CLIENT_ID: ${{ secrets[env.AZURE_CLIENT_ID_NAME] }}
|
AZURE_CLIENT_ID: ${{ secrets[env.AZURE_CLIENT_ID_NAME] }}
|
||||||
AZURE_CLIENT_SECRET: ${{ secrets[env.AZURE_CLIENT_SECRET_NAME] }}
|
AZURE_CLIENT_SECRET: ${{ secrets[env.AZURE_CLIENT_SECRET_NAME] }}
|
||||||
@ -284,9 +283,30 @@ jobs:
|
|||||||
-failfast \
|
-failfast \
|
||||||
-p 1 \
|
-p 1 \
|
||||||
-timeout 10m \
|
-timeout 10m \
|
||||||
./... \
|
-run github.com/alcionai/corso/src/pkg/config \
|
||||||
2>&1 | tee /tmp/corso-retention-testlog/gotest-ci.log
|
2>&1 | tee /tmp/corso-retention-testlog/gotest-ci.log
|
||||||
|
|
||||||
|
# run the tests
|
||||||
|
# - name: Retention 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_RETENTION_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_RETENTION_TESTS_S3_BUCKET }}
|
||||||
|
# run: |
|
||||||
|
# set -euo pipefail
|
||||||
|
# go test \
|
||||||
|
# -tags testing \
|
||||||
|
# -failfast \
|
||||||
|
# -p 1 \
|
||||||
|
# -timeout 10m \
|
||||||
|
# ./... \
|
||||||
|
# 2>&1 | tee /tmp/corso-retention-testlog/gotest-ci.log
|
||||||
|
|
||||||
# Upload the original go test output as an artifact for later review.
|
# Upload the original go test output as an artifact for later review.
|
||||||
- name: Upload test log
|
- name: Upload test log
|
||||||
if: always()
|
if: always()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user