Skip to content

test: add unit test for create database with zero retention policy (#39) #159

test: add unit test for create database with zero retention policy (#39)

test: add unit test for create database with zero retention policy (#39) #159

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.21'
- name: setup OpenGemini
uses: shoothzj/setup-opengemini-action@main
- name: Run coverage
run: go test ./... -coverpkg=./padmin/... -race -coverprofile=coverage.out -covermode=atomic