From 450e2703131e053b41aa4f5003ffecde48e2b7b3 Mon Sep 17 00:00:00 2001 From: Abin Simon Date: Mon, 22 Jan 2024 14:53:30 +0530 Subject: [PATCH] Just run one --- .github/workflows/ci.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f2f308aea..0113054c3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -289,6 +289,22 @@ jobs: - run: mkdir testlog + - name: one test + run: GODEBUG=gocachetest=1 go test -v -run '^TestExportUnitSuite/TestGetItems$' ./internal/m365/service/onedrive + + # Upload the original go test output as an artifact for later review. + - name: Upload test log + if: always() + uses: actions/upload-artifact@v4 + with: + name: unit-test-log + path: src/testlog/* + if-no-files-found: error + retention-days: 14 + + - name: fail + run: exit 1 + # Install gotestfmt - name: Set up gotestfmt run: go install github.com/gotesttools/gotestfmt/v2/cmd/gotestfmt@latest