Add testing to default and release branches

Also added a note to the circleci config

Signed-off-by: Matt Farina <matt.farina@suse.com>
pull/11865/head
Matt Farina 2 years ago
parent 9a02cc0916
commit 1f263857a0
No known key found for this signature in database
GPG Key ID: 92C44A3D421FF7F9

@ -1,4 +1,7 @@
---
# This file can be removed when Helm no longer uses CircleCI on any release
# branches. Once CircleCI is turned off this file can be removed.
version: 2
jobs:

@ -1,5 +1,9 @@
name: build-pr
name: build-test
on:
push:
branches:
- 'main'
- 'release-**'
pull_request:
branches:
- main

@ -24,6 +24,9 @@ jobs:
uses: actions/setup-go@6edd4406fa81c3da01a34fa6f6343087c207a568 # pin@3.5.0
with:
go-version: '1.18'
- name: Run unit tests
run: make test-coverage
- name: Build Helm Binaries
run: |
@ -53,6 +56,9 @@ jobs:
with:
go-version: '1.18'
- name: Run unit tests
run: make test-coverage
- name: Build Helm Binaries
run: |
make build-cross

Loading…
Cancel
Save