Skip to content

Commit c56b06b

Browse files
committed
Hardcode check for 1.20 and OTel
1 parent 1d29b38 commit c56b06b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/testing.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,6 @@ jobs:
6666

6767
- type: tests
6868
goversion: '1.20'
69-
mode: skipotel
7069
steps:
7170
# Setup the environment.
7271
- name: Setup GOARCH
@@ -108,7 +107,7 @@ jobs:
108107
pushd "$(dirname ${MOD_FILE})"
109108
# Skip OpenTelemetry module if 3 releases ago, Go OpenTelemetry only supports
110109
# previous two releases.
111-
if [[ "${{ matrix.mode }}" == "skipotel" && "${PWD}" =~ /stats/opentelemetry$ ]]; then
110+
if [[ "${{ matrix.goversion }}" == "1.20" && "${PWD}" =~ /stats/opentelemetry$ ]]; then
112111
echo "Skipping ${MOD_FILE}"
113112
else
114113
go test ${{ matrix.testflags }} -cpu 1,4 -timeout 2m ./...

0 commit comments

Comments
 (0)