Skip to content

Commit

Permalink
Try out the auto-go-mod discovery script
Browse files Browse the repository at this point in the history
  • Loading branch information
lidizheng committed Apr 8, 2022
1 parent 5fc5d9b commit 2e9a37e
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/testing.yml
Expand Up @@ -106,10 +106,12 @@ jobs:
run: |
go version
go test ${{ matrix.testflags }} -cpu 1,4 -timeout 7m google.golang.org/grpc/...
cd ${GITHUB_WORKSPACE}/security/advancedtls && go test ${{ matrix.testflags }} -timeout 2m google.golang.org/grpc/security/advancedtls/...
cd ${GITHUB_WORKSPACE}/security/authorization && go test ${{ matrix.testflags }} -timeout 2m google.golang.org/grpc/security/authorization/...
cd ${GITHUB_WORKSPACE}/gcp/observability && go test ${{ matrix.testflags }} -timeout 2m google.golang.org/grpc/gcp/observability/...
cd "${GITHUB_WORKSPACE}"
for MOD_FILE in $(find . -name 'go.mod' | grep -v './go.mod'); do
pushd "$(dirname ${MOD_FILE})"
go test ${{ matrix.testflags }} -timeout 2m ./...
popd
done
# Non-core gRPC tests (examples, interop, etc)
- name: Run extras tests
Expand Down

0 comments on commit 2e9a37e

Please sign in to comment.