Skip to content

feat: add annotation to explicitly ignore certain ingress routes. #44

feat: add annotation to explicitly ignore certain ingress routes.

feat: add annotation to explicitly ignore certain ingress routes. #44

Workflow file for this run

---
name: test (go)
on:
push:
branches:
- master
pull_request:
permissions:
contents: write
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.22'
- name: Make test
env:
PINGDOM_API_TOKEN: ${{ secrets.PINGDOM_API_TOKEN }}
run: |
make test
echo "removing generated code from coverage results"
mv cover.out cover.out.tmp && grep -vP "uptime-operator/(api/v1alpha1|cmd|test/utils)/" cover.out.tmp > cover.out
- name: Update coverage report
uses: ncruces/go-coverage-report@v0
with:
coverage-file: cover.out
report: true
chart: false
amend: false
reuse-go: true
if: |
github.event_name == 'push'
continue-on-error: false