tests only TestSharePointSuite/TestCollectLists

This commit is contained in:
HiteshRepo 2024-01-28 18:21:55 +05:30
parent b098f977e2
commit 97860ba336

View File

@ -299,12 +299,7 @@ jobs:
- run: mkdir testlog - run: mkdir testlog
- name: all tests - name: one test
env:
# Set these to a bad value so we don't accidentally fall back to
# something elsewhere.
CORSO_M365_TEST_USER_ID: "foo"
CORSO_SECONDARY_M365_TEST_USER_ID: "foo"
run: | run: |
set -euo pipefail set -euo pipefail
@ -314,9 +309,27 @@ jobs:
-failfast \ -failfast \
-p 1 \ -p 1 \
-timeout 20m \ -timeout 20m \
./... \ -run '^TestSharePointSuite/TestCollectLists$' ./internal/m365/collection/site \
2>&1 | tee -a ./testlog/gotest-unit.log 2>&1 | tee -a ./testlog/gotest-unit.log
# - name: all tests
# env:
# # Set these to a bad value so we don't accidentally fall back to
# # something elsewhere.
# CORSO_M365_TEST_USER_ID: "foo"
# CORSO_SECONDARY_M365_TEST_USER_ID: "foo"
# run: |
# set -euo pipefail
# # Run the first test
# go test \
# -tags testing \
# -failfast \
# -p 1 \
# -timeout 20m \
# ./... \
# 2>&1 | tee -a ./testlog/gotest-unit.log
# run the tests # run the tests
# - name: Unit Tests # - name: Unit Tests
# env: # env: