From 3b377e12f578ee6de42a361beff7a72e91946ca1 Mon Sep 17 00:00:00 2001 From: HiteshRepo Date: Sun, 28 Jan 2024 20:51:11 +0530 Subject: [PATCH] run each test in the suites --- .github/workflows/ci.yml | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0d84bc734..3222f770c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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