Skip to content

chore: Update bench.sh to include additional version v0.0.8 #28

chore: Update bench.sh to include additional version v0.0.8

chore: Update bench.sh to include additional version v0.0.8 #28

Workflow file for this run

name: Go Tests
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
go-version: [ '1.21.5' ]
steps:
- uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
- name: Install dependencies
run: go get .
- name: Test with Go
run: go test ./...
- name: generate test coverage
run: go test ./... -coverprofile=./cover.out -covermode=atomic -coverpkg=./...
- name: check test coverage
uses: vladopajic/go-test-coverage@v2
with:
profile: cover.out
local-prefix: github.com/i5heu/OuroborosDB
threshold-file: 50
threshold-package: 50
threshold-total: 50
git-token: ${{ github.ref_name == 'main' && secrets.GITHUB_TOKEN || '' }}
git-branch: gh-pages