Skip to content

fix: remove unused sum[4] in LinearRegression #40

fix: remove unused sum[4] in LinearRegression

fix: remove unused sum[4] in LinearRegression #40

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:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: "stable"
- name: Run test with coverage
run: go test -race -coverprofile=coverage.txt -covermode=atomic
- name: Upload coverage to Codecov
# Secrets are not available to workflows triggered from forked PRs.
# Without a token, Codecov may rate limit uploads (429).
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: coverage.txt
fail_ci_if_error: true
verbose: true