Skip to content

Improve test coverage for datanode and tim packages, and fix cmd tests #129

Improve test coverage for datanode and tim packages, and fix cmd tests

Improve test coverage for datanode and tim packages, and fix cmd tests #129

Workflow file for this run

# This workflow will build a golang project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go
name: Go
on:
push:
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v6
with:
go-version-file: 'go.mod'
- name: Install Task
run: go install github.com/go-task/task/v3/cmd/task@latest
- name: Build
run: ~/go/bin/task build
- name: Test
run: ~/go/bin/task test
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}