diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b693d70e2a1..227d32de684 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -112,7 +112,7 @@ jobs: name: opentelemetry-go-test-output path: ${{ env.TEST_RESULTS }} - compatibility-test: + compatibility-matrix: strategy: matrix: go-version: ["1.20", 1.19, 1.18] @@ -150,3 +150,19 @@ jobs: env: GOARCH: ${{ matrix.arch }} run: make test-short + + test-compatibility: + runs-on: ubuntu-latest + needs: [compatibility-matrix] + steps: + - name: Print result + run: echo ${{ needs.compatibility-matrix.result }} + - name: Interpret result + run: | + if [[ success == ${{ needs.compatibility-matrix.result }} ]] + then + echo "All matrix jobs passed!" + else + echo "One or more matrix jobs failed." + false + fi \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 39078e56970..7b2fbc36098 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -41,6 +41,7 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm - [bridge/ot] Fall-back to TextMap carrier when it's not ot.HttpHeaders. (#3679) - The `Collect` method of the `"go.opentelemetry.io/otel/sdk/metric".Reader` interface is updated to accept the `metricdata.ResourceMetrics` value the collection will be made into. This change is made to enable memory reuse by SDK users. (#3732) +- Restructure compatibility testing. ### Fixed