Support cxMinNonNullValuesPercentage annotation from PrometheusRule #417
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: unit-tests | |
on: | |
pull_request: | |
paths-ignore: | |
- "charts/**" | |
push: | |
branches: | |
- 'main' | |
paths-ignore: | |
- "charts/**" | |
jobs: | |
unit-tests: | |
runs-on: ubuntu-latest | |
name: Unit tests | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-go@v4 | |
with: | |
go-version-file: go.mod | |
- name: Create k8s Kind Cluster | |
uses: helm/[email protected] | |
- name: Install CRDs | |
run: make install | |
- run: make unit-tests | |
- name: Patch Coverage | |
uses: seriousben/go-patch-cover-action@v1 | |
with: | |
version: v0.2.0 | |
coverage_filename: cover.out |