Skip to content

[v0.10] Backport of Adds predicate when webhook commit changes #5124

[v0.10] Backport of Adds predicate when webhook commit changes

[v0.10] Backport of Adds predicate when webhook commit changes #5124

Workflow file for this run

name: CI
on:
schedule:
- cron: '0 5 * * *'
pull_request:
push:
branches:
- 'release/*'
env:
GOARCH: amd64
CGO_ENABLED: 0
jobs:
unit-test:
runs-on: ubuntu-latest
steps:
-
uses: actions/checkout@v4
with:
fetch-depth: 0
-
name: Set up chart-testing
uses: helm/[email protected]
with:
version: v3.3.0
-
name: Run chart-testing (lint)
run: ct lint --all --validate-maintainers=false charts/
-
uses: actions/setup-go@v5
with:
go-version-file: 'go.mod'
check-latest: true
-
name: unit-test
run: go test -shuffle=on $(go list ./... | grep -v -e /e2e -e /integrationtests)
-
name: Install Ginkgo CLI
run: go install github.com/onsi/ginkgo/v2/ginkgo
-
name: integration-tests
env:
SETUP_ENVTEST_VER: v0.0.0-20240115093953-9e6e3b144a69
ENVTEST_K8S_VERSION: 1.28
run: ./.github/scripts/run-integration-tests.sh