test: add basic go test coverage #3
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: 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 |