Skip to content

Enhance GetTanzuContextActiveResource API to include organization nam… #783

Enhance GetTanzuContextActiveResource API to include organization nam…

Enhance GetTanzuContextActiveResource API to include organization nam… #783

name: Cross-version API Compatibility Tests
on:
pull_request:
branches: [main, release-*]
push:
branches: [main, test*, release-*]
jobs:
build:
name: Cross-version API Compatibility Tests
runs-on: ubuntu-latest
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v1
- name: Set up Go 1.x
uses: actions/setup-go@v3
with:
go-version: 1.19
id: go
- name: Setup dependencies
run: |
make tools
echo "${PWD}/hack/tools/bin" >> $GITHUB_PATH
echo "${PWD}/bin" >> $GITHUB_PATH
sudo apt-get update
sudo apt-get install -y jq curl
- name: Build Runtime Test Plugins
run: make build-compatibility-test-plugins
- name: Run Compatibility Tests
run: make run-compatibility-tests
- name: Tests Results Summary
if: always()
run: |
TEST_RESULTS_MD=$(./hack/scripts/process-ginkgo-test-results.sh testresults/compatibility-tests.json)
echo "$TEST_RESULTS_MD" >> $GITHUB_STEP_SUMMARY