Skip to content

Commit

Permalink
github: fold security tests into 'tests'; update testing to 1.17-1.15 (
Browse files Browse the repository at this point in the history
  • Loading branch information
dfawley committed Aug 26, 2021
1 parent 0b372df commit d074cae
Show file tree
Hide file tree
Showing 22 changed files with 32 additions and 10 deletions.
21 changes: 11 additions & 10 deletions .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,32 +41,32 @@ jobs:
matrix:
include:
- type: vet+tests
goversion: 1.16
goversion: 1.17

- type: tests
goversion: 1.16
goversion: 1.17
testflags: -race

- type: tests
goversion: 1.16
goversion: 1.17
grpcenv: GRPC_GO_RETRY=on

- type: extras
goversion: 1.16
goversion: 1.17

- type: tests
goversion: 1.16
goversion: 1.17
goarch: 386

- type: tests
goversion: 1.16
goversion: 1.17
goarch: arm64

- type: tests
goversion: 1.15
goversion: 1.16

- type: tests
goversion: 1.14
goversion: 1.15

steps:
# Setup the environment.
Expand Down Expand Up @@ -104,6 +104,9 @@ 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/...
# Non-core gRPC tests (examples, interop, etc)
- name: Run extras tests
Expand All @@ -113,5 +116,3 @@ jobs:
examples/examples_test.sh
security/advancedtls/examples/examples_test.sh
interop/interop_test.sh
cd ${GITHUB_WORKSPACE}/security/advancedtls && go test -cpu 1,4 -timeout 7m google.golang.org/grpc/security/advancedtls/...
cd ${GITHUB_WORKSPACE}/security/authorization && go test -cpu 1,4 -timeout 7m google.golang.org/grpc/security/authorization/...
1 change: 1 addition & 0 deletions channelz/service/func_nonlinux.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build !linux
// +build !linux

/*
Expand Down
1 change: 1 addition & 0 deletions channelz/service/service_sktopt_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build linux && (386 || amd64)
// +build linux
// +build 386 amd64

Expand Down
1 change: 1 addition & 0 deletions channelz/service/util_sktopt_386_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build 386 && linux
// +build 386,linux

/*
Expand Down
1 change: 1 addition & 0 deletions channelz/service/util_sktopt_amd64_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build amd64 && linux
// +build amd64,linux

/*
Expand Down
1 change: 1 addition & 0 deletions credentials/alts/alts_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build linux || windows
// +build linux windows

/*
Expand Down
1 change: 1 addition & 0 deletions credentials/alts/utils_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build linux || windows
// +build linux windows

/*
Expand Down
1 change: 1 addition & 0 deletions internal/channelz/types_nonlinux.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build !linux
// +build !linux

/*
Expand Down
1 change: 1 addition & 0 deletions internal/channelz/util_nonlinux.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build !linux
// +build !linux

/*
Expand Down
1 change: 1 addition & 0 deletions internal/channelz/util_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build linux
// +build linux

/*
Expand Down
1 change: 1 addition & 0 deletions internal/profiling/goid_modified.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build grpcgoid
// +build grpcgoid

/*
Expand Down
1 change: 1 addition & 0 deletions internal/profiling/goid_regular.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build !grpcgoid
// +build !grpcgoid

/*
Expand Down
1 change: 1 addition & 0 deletions internal/syscall/syscall_nonlinux.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build !linux
// +build !linux

/*
Expand Down
1 change: 1 addition & 0 deletions internal/transport/proxy_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build !race
// +build !race

/*
Expand Down
1 change: 1 addition & 0 deletions test/authority_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build linux
// +build linux

/*
Expand Down
1 change: 1 addition & 0 deletions test/race.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build race
// +build race

/*
Expand Down
1 change: 1 addition & 0 deletions test/tools/tools.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build tools
// +build tools

/*
Expand Down
1 change: 1 addition & 0 deletions xds/internal/httpfilter/fault/fault_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build !386
// +build !386

/*
Expand Down
1 change: 1 addition & 0 deletions xds/internal/test/xds_client_integration_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build !386
// +build !386

/*
Expand Down
1 change: 1 addition & 0 deletions xds/internal/test/xds_integration_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build !386
// +build !386

/*
Expand Down
1 change: 1 addition & 0 deletions xds/internal/test/xds_server_integration_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build !386
// +build !386

/*
Expand Down
1 change: 1 addition & 0 deletions xds/internal/test/xds_server_serving_mode_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build !386
// +build !386

/*
Expand Down

0 comments on commit d074cae

Please sign in to comment.