Just run one

This commit is contained in:
Abin Simon 2024-01-22 14:53:30 +05:30
parent 4de2a33b73
commit 450e270313

View File

@ -289,6 +289,22 @@ jobs:
- run: mkdir testlog - 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 # Install gotestfmt
- name: Set up gotestfmt - name: Set up gotestfmt
run: go install github.com/gotesttools/gotestfmt/v2/cmd/gotestfmt@latest run: go install github.com/gotesttools/gotestfmt/v2/cmd/gotestfmt@latest