1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2024-12-14 11:57:48 +00:00

add tests before release (#2174)

Signed-off-by: George Kaz <egeorgekaz@gmail.com>
This commit is contained in:
georgekaz 2021-07-21 01:06:56 +01:00 committed by GitHub
parent 3de6128147
commit c73a14eba2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 21 additions and 5 deletions

View file

@ -8,8 +8,28 @@ on:
- '.github/workflows/helm-release.yaml'
jobs:
helm-tests:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Unshallow
run: git fetch --prune --unshallow
- uses: actions/setup-python@v2
with:
python-version: 3.7
- name: Set up chart-testing
uses: helm/chart-testing-action@v2.0.1
- name: Run chart-testing (lint)
run: ct lint --target-branch=main --check-version-increment=false
create-release:
runs-on: ubuntu-latest
needs: helm-tests
steps:
- name: Checkout
uses: actions/checkout@v2

View file

@ -1,15 +1,11 @@
name: helm-test
on:
push:
branches:
- 'main'
paths:
- 'charts/kyverno/**'
pull_request:
branches:
- 'main'
paths:
- 'charts/kyverno/**'
- '.github/workflows/helm-test.yaml'
jobs:
helm-tests: