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

@ -25,6 +25,9 @@ jobs:
with:
go-version: '1.18'
- name: Run unit tests
run: make test-coverage
- name: Build Helm Binaries
run: |
make build-cross
@ -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