tests only TestSharePointSuite/TestCollectLists
This commit is contained in:
parent
b098f977e2
commit
97860ba336
27
.github/workflows/ci.yml
vendored
27
.github/workflows/ci.yml
vendored
@ -299,12 +299,7 @@ jobs:
|
||||
|
||||
- run: mkdir testlog
|
||||
|
||||
- name: all tests
|
||||
env:
|
||||
# Set these to a bad value so we don't accidentally fall back to
|
||||
# something elsewhere.
|
||||
CORSO_M365_TEST_USER_ID: "foo"
|
||||
CORSO_SECONDARY_M365_TEST_USER_ID: "foo"
|
||||
- name: one test
|
||||
run: |
|
||||
set -euo pipefail
|
||||
|
||||
@ -314,9 +309,27 @@ jobs:
|
||||
-failfast \
|
||||
-p 1 \
|
||||
-timeout 20m \
|
||||
./... \
|
||||
-run '^TestSharePointSuite/TestCollectLists$' ./internal/m365/collection/site \
|
||||
2>&1 | tee -a ./testlog/gotest-unit.log
|
||||
|
||||
# - name: all tests
|
||||
# env:
|
||||
# # Set these to a bad value so we don't accidentally fall back to
|
||||
# # something elsewhere.
|
||||
# CORSO_M365_TEST_USER_ID: "foo"
|
||||
# CORSO_SECONDARY_M365_TEST_USER_ID: "foo"
|
||||
# run: |
|
||||
# set -euo pipefail
|
||||
|
||||
# # Run the first test
|
||||
# go test \
|
||||
# -tags testing \
|
||||
# -failfast \
|
||||
# -p 1 \
|
||||
# -timeout 20m \
|
||||
# ./... \
|
||||
# 2>&1 | tee -a ./testlog/gotest-unit.log
|
||||
|
||||
# run the tests
|
||||
# - name: Unit Tests
|
||||
# env:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user