📖 bugfix: fix error in documentation Watching Externally Managed Resources #903
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: run-test-e2e-for-project-v4-sample | |
on: | |
push: | |
pull_request: | |
jobs: | |
test: | |
name: Run on Ubuntu | |
runs-on: ubuntu-latest | |
steps: | |
- name: Clone the code | |
uses: actions/checkout@v4 | |
- name: Setup Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: '~1.22' | |
- name: Create kind cluster | |
run: kind create cluster | |
- name: Prepare the environment | |
run: | | |
KUSTOMIZATION_FILE_PATH="testdata/project-v4/config/default/kustomization.yaml" | |
sed -i '25s/^#//' $KUSTOMIZATION_FILE_PATH | |
sed -i '47s/^#//' $KUSTOMIZATION_FILE_PATH | |
- name: Test | |
run: | | |
cd testdata/project-v4 | |
go mod tidy | |
make test-e2e |