CI #5418
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: CI | |
on: | |
schedule: | |
- cron: '0 5 * * *' | |
pull_request: | |
push: | |
branches: | |
- 'release/*' | |
env: | |
GOARCH: amd64 | |
CGO_ENABLED: 0 | |
jobs: | |
unit-test: | |
runs-on: runs-on,runner=16cpu-linux-x64,mem=16,run-id=${{ github.run_id }} | |
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 |