fix: only one workload is generated for Deployment #1297
Workflow file for this run
This file contains hidden or 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: Tests | |
| on: | |
| push: | |
| branches: | |
| - main | |
| - release/** | |
| paths-ignore: | |
| - "*.md" | |
| - "charts/**" | |
| - "config/**" | |
| pull_request: | |
| branches: | |
| - main | |
| - release/** | |
| paths-ignore: | |
| - "*.md" | |
| - "charts/**" | |
| - "config/**" | |
| permissions: | |
| contents: read | |
| jobs: | |
| test: | |
| name: Run on Ubuntu | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| # from https://github.com/kubernetes-sigs/controller-tools/blob/main/envtest-releases.yaml | |
| envtest_k8s_version: [1.23.5, 1.34.0] | |
| steps: | |
| - name: Clone the code | |
| uses: actions/checkout@v5 | |
| - name: Setup Go | |
| uses: actions/setup-go@v6 | |
| with: | |
| go-version: '~1.24' | |
| - name: Running Tests | |
| run: | | |
| go mod vendor | |
| bash ./scripts/patch-scheduler.sh | |
| make test | |
| env: | |
| ENVTEST_K8S_VERSION: ${{ matrix.envtest_k8s_version }} |