Skip to content

first commit

first commit #1

Workflow file for this run

name: go unit test
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
go_unit_test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
with:
go-version: '1.20'
- name: setup OpenGemini
uses: shoothzj/setup-opengemini-action@main
- name: Run coverage
run: go test ./... -coverpkg=./opengemini/... -race -coverprofile=coverage.out -covermode=atomic