Skip to content

Commit

Permalink
Disable Testing Jobs
Browse files Browse the repository at this point in the history
Large refactor incoming on develop. Disabling testing to avoid unnecessary testing. Tests will be re-enabled before the next release.
  • Loading branch information
dagan committed May 1, 2024
1 parent 555db36 commit 9332f75
Showing 1 changed file with 23 additions and 21 deletions.
44 changes: 23 additions & 21 deletions .github/workflows/go-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,29 +25,31 @@ jobs:
- name: Verify
run: make vet

Test:
needs: Setup
runs-on: ubuntu-latest
strategy:
matrix:
k8s-version: ['1.24', '1.25', '1.26', '1.27']
env:
ENVTEST_K8S_VERSION: ${{ matrix.k8s-version }}
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: stable
- name: Set up envtest
run: |
make envtest
echo "KUBEBUILDER_ASSETS=$(bin/setup-envtest use $ENVTEST_K8S_VERSION -p path)" >> $GITHUB_ENV
- name: Test
run: make test
# Skilled while refactoring the project
#
# Test:
# needs: Setup
# runs-on: ubuntu-latest
# strategy:
# matrix:
# k8s-version: ['1.24', '1.25', '1.26', '1.27']
# env:
# ENVTEST_K8S_VERSION: ${{ matrix.k8s-version }}
# steps:
# - uses: actions/checkout@v3
# - name: Set up Go
# uses: actions/setup-go@v4
# with:
# go-version: stable
# - name: Set up envtest
# run: |
# make envtest
# echo "KUBEBUILDER_ASSETS=$(bin/setup-envtest use $ENVTEST_K8S_VERSION -p path)" >> $GITHUB_ENV
# - name: Test
# run: make test

Build:
needs: Test
needs: Setup
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand Down

0 comments on commit 9332f75

Please sign in to comment.