Skip to content

fix(neighbours): only check other kubenurse pods #354

fix(neighbours): only check other kubenurse pods

fix(neighbours): only check other kubenurse pods #354

Workflow file for this run

---
name: lint and test
on:
push:
pull_request:
jobs:
lint-go:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v5
with:
go-version: '1.21'
- uses: actions/checkout@v4
- uses: golangci/golangci-lint-action@v3
with:
version: v1.55
args: --timeout 5m
lint-helm:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Helm lint
shell: bash
run: |
helm lint ./helm/kubenurse/
test-go:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: '1.21'
- name: Run unit tests
run: go test -race -covermode atomic -coverprofile=profile.cov ./...
- name: Send coverage report
env:
COVERALLS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
go install github.com/mattn/goveralls@v0.0.11
goveralls -coverprofile=profile.cov -service=github