feat(e2e): add e2e go test for support-bundler (#1265)

This commit is contained in:
Dexter Yan
2023-08-25 14:43:09 +12:00
committed by GitHub
parent 04f69b3f8c
commit 38ff340883
10 changed files with 388 additions and 30 deletions

View File

@@ -222,6 +222,27 @@ jobs:
- run: chmod +x bin/support-bundle
- run: make support-bundle-e2e-test
validate-supportbundle-e2e-go-test:
runs-on: ubuntu-latest
needs: compile-supportbundle
steps:
- uses: actions/setup-go@v4
with:
go-version: "1.19"
- name: setup env
run: |
echo "GOPATH=$(go env GOPATH)" >> $GITHUB_ENV
echo "$(go env GOPATH)/bin" >> $GITHUB_PATH
shell: bash
- uses: actions/checkout@v3
- name: Download support bundle binary
uses: actions/download-artifact@v3
with:
name: support-bundle
path: bin/
- run: chmod +x bin/support-bundle
- run: make support-bundle-e2e-go-test
compile-collect:
runs-on: ubuntu-latest
steps: