Skip to content

test: add basic go test coverage #3

test: add basic go test coverage

test: add basic go test coverage #3

name: Lagoon Insights Handler Test
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
test-suite:
runs-on: ubuntu-latest
continue-on-error: false
strategy:
fail-fast: false
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: "0"
- name: Set up testing dependencies
run: sudo apt-get update && sudo apt-get -y install build-essential && sudo apt-get clean
- name: Setup correct Go version
uses: actions/setup-go@v2
with:
go-version: '1.23'
- name: Run test
run: |
make test