1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-06 16:06:56 +00:00
kyverno/.github/workflows/tests.yaml
Charles-Edouard Brétéché 39e51a0047
chore: split unit tests and linter jobs (#6901)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-04-13 13:47:34 +00:00

30 lines
572 B
YAML

name: Tests
on:
push:
branches:
- '*'
pull_request:
branches:
- 'main'
- 'release*'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
jobs:
tests:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@83b7061638ee4956cf7545a6f7efe594e5ad0247 # v3.5.1
- name: Setup build env
uses: ./.github/actions/setup-build-env
with:
build-cache-key: tests
- name: Unit test
run: make test-unit