run each test in the suites

This commit is contained in:
HiteshRepo 2024-01-28 20:51:11 +05:30
parent 87b6d79217
commit 3b377e12f5

View File

@ -309,7 +309,7 @@ jobs:
-failfast \
-p 1 \
-timeout 20m \
-run '^TestSharePointBackupUnitSuite/' ./internal/m365/collection/site \
-run '^TestSharePointBackupUnitSuite/TestPopulateListsCollections_incremental$' ./internal/m365/collection/site \
2>&1 | tee -a ./testlog/gotest-unit.log
# Run the second test
@ -318,7 +318,16 @@ jobs:
-failfast \
-p 1 \
-timeout 20m \
-run '^TestExportUnitSuite/' ./internal/m365/collection/site \
-run '^TestSharePointBackupUnitSuite/TestCollectLists$' ./internal/m365/collection/site \
2>&1 | tee -a ./testlog/gotest-unit.log
# Run the third test
go test \
-tags testing \
-failfast \
-p 1 \
-timeout 20m \
-run '^TestExportUnitSuite/TestStreamItems$' ./internal/m365/collection/site \
2>&1 | tee -a ./testlog/gotest-unit.log
# - name: all tests