Skip to content

Commit 37603fd

Browse files
committed
Ignore OpenTelemetry module in latest version - 3 testing on Github Actions
1 parent 218bef2 commit 37603fd

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/testing.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ jobs:
6666

6767
- type: tests
6868
goversion: '1.20'
69+
skipotel: true
6970
steps:
7071
# Setup the environment.
7172
- name: Setup GOARCH
@@ -105,8 +106,13 @@ jobs:
105106
cd "${GITHUB_WORKSPACE}"
106107
for MOD_FILE in $(find . -name 'go.mod' | grep -Ev '^\./go\.mod'); do
107108
pushd "$(dirname ${MOD_FILE})"
108-
go test ${{ matrix.testflags }} -cpu 1,4 -timeout 2m ./...
109+
# Skip OpenTelemetry module if 3 releases ago, Go OpenTelemetry only supports
110+
# previous two releases.
111+
if [[ ! "matrix.skipotel" ]] || [[ dirname != ./stats/opentelemetry ]]; then
112+
go test ${{ matrix.testflags }} -cpu 1,4 -timeout 2m ./...
113+
fi
109114
popd
115+
110116
done
111117
112118
# Non-core gRPC tests (examples, interop, etc)

0 commit comments

Comments
 (0)