Skip to content

add tests to model folder #4

add tests to model folder

add tests to model folder #4

Workflow file for this run

name: Run coverage report
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: stable
- name: Build
run: go build -v ./...
- name: Test
run: go test -v $(go list ./... | grep -v /example/)
- name: Update coverage report
uses: ncruces/go-coverage-report@v0
with:
report: true
chart: true
amend: true