Skip to content

Commit

Permalink
Ignore OpenTelemetry module in latest version - 3 testing on Github A…
Browse files Browse the repository at this point in the history
…ctions
  • Loading branch information
zasweq committed May 20, 2024
1 parent 218bef2 commit 37603fd
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ jobs:

- type: tests
goversion: '1.20'
skipotel: true
steps:
# Setup the environment.
- name: Setup GOARCH
Expand Down Expand Up @@ -105,8 +106,13 @@ jobs:
cd "${GITHUB_WORKSPACE}"
for MOD_FILE in $(find . -name 'go.mod' | grep -Ev '^\./go\.mod'); do
pushd "$(dirname ${MOD_FILE})"
go test ${{ matrix.testflags }} -cpu 1,4 -timeout 2m ./...
# Skip OpenTelemetry module if 3 releases ago, Go OpenTelemetry only supports
# previous two releases.
if [[ ! "matrix.skipotel" ]] || [[ dirname != ./stats/opentelemetry ]]; then
go test ${{ matrix.testflags }} -cpu 1,4 -timeout 2m ./...
fi
popd
done
# Non-core gRPC tests (examples, interop, etc)
Expand Down

0 comments on commit 37603fd

Please sign in to comment.