From 44f68d1c084e14eb93be1c3eb5a43499087f56e4 Mon Sep 17 00:00:00 2001 From: Friedrich Wilken Date: Tue, 17 Oct 2023 19:15:21 +0200 Subject: [PATCH] seperate unit test and crd validation --- .github/workflows/test.yml | 20 -------------------- .github/workflows/validate.yml | 13 ------------- 2 files changed, 33 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 66fbb041b..7c2c93cf2 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -16,7 +16,6 @@ on: - 'docs/**' - '**.md' - jobs: unit: runs-on: ubuntu-latest @@ -30,22 +29,3 @@ jobs: - name: Run tests run: | make test-only - - validate-crd: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - - name: Install k3d tools - run: | - make -C hack/ci/ install-k3d-tools - - - name: Install Kyma CLI & setup k3d cluster using kyma CLI - run: | - make kyma - make -C hack/ci/ create-k3d - kubectl version - kubectl cluster-info - - - name: apply crd - run: kubectl apply -f config/crd/bases/operator.kyma-project.io_eventings.yaml diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index 910fba631..542a2b37d 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -24,19 +24,6 @@ on: jobs: crd: - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v4 - - name: Sync GO dependencies - run: | - go mod tidy - go mod vendor - - name: Run tests - run: | - make test-only - - validate-crd: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4