Update SyncPluginsForTarget API to allow configuring stdout
and stderr
externally
#402
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Cross-version API Compatibility Tests | |
on: | |
pull_request: | |
branches: [main, release-*] | |
push: | |
branches: [main, 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 |