runs only 2 suites of site coll package

This commit is contained in:
HiteshRepo 2024-01-28 20:42:15 +05:30
parent ce42add8ce
commit 2b5a14e6ae

View File

@ -309,7 +309,7 @@ jobs:
-failfast \ -failfast \
-p 1 \ -p 1 \
-timeout 20m \ -timeout 20m \
-run '^SharePointCollectionUnitSuite/' ./internal/m365/collection/site \ -run '^TestSharePointBackupUnitSuite/' ./internal/m365/collection/site \
2>&1 | tee -a ./testlog/gotest-unit.log 2>&1 | tee -a ./testlog/gotest-unit.log
# Run the second test # Run the second test
@ -321,33 +321,6 @@ jobs:
-run '^TestExportUnitSuite/' ./internal/m365/collection/site \ -run '^TestExportUnitSuite/' ./internal/m365/collection/site \
2>&1 | tee -a ./testlog/gotest-unit.log 2>&1 | tee -a ./testlog/gotest-unit.log
# Run the third test
go test \
-tags testing \
-failfast \
-p 1 \
-timeout 20m \
-run '^TestPagesUnitSuite/' ./internal/m365/collection/site \
2>&1 | tee -a ./testlog/gotest-unit.log
# Run the fourth test
go test \
-tags testing \
-failfast \
-p 1 \
-timeout 20m \
-run '^TestSharePointRestoreUnitSuite/' ./internal/m365/collection/site \
2>&1 | tee -a ./testlog/gotest-unit.log
# Run the fifth test
go test \
-tags testing \
-failfast \
-p 1 \
-timeout 20m \
-run '^TestSharePointBackupUnitSuite/' ./internal/m365/collection/site \
2>&1 | tee -a ./testlog/gotest-unit.log
# - name: all tests # - name: all tests
# env: # env:
# # Set these to a bad value so we don't accidentally fall back to # # Set these to a bad value so we don't accidentally fall back to