Skip to content

Commit

Permalink
Add testing to default and release branches
Browse files Browse the repository at this point in the history
Also added a note to the circleci config

Signed-off-by: Matt Farina <matt.farina@suse.com>
  • Loading branch information
mattfarina committed Mar 2, 2023
1 parent 9a02cc0 commit 1f26385
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .circleci/config.yml
@@ -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:
Expand Down
@@ -1,5 +1,9 @@
name: build-pr
name: build-test
on:
push:
branches:
- 'main'
- 'release-**'
pull_request:
branches:
- main
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/release.yml
Expand Up @@ -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: |
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 1f26385

Please sign in to comment.