Skip to content

Merge pull request #424 from chronosphereio/pwhelan-fix-sc-107258 #467

Merge pull request #424 from chronosphereio/pwhelan-fix-sc-107258

Merge pull request #424 from chronosphereio/pwhelan-fix-sc-107258 #467

Workflow file for this run

name: CI
on:
push:
branches: [main]
tags:
- "v*"
pull_request:
workflow_dispatch:
jobs:
build-internal:
name: Test
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
- name: Unit tests
run: |
go test -v -covermode=atomic -coverprofile=coverage.out ./...
- name: Upload coverage to Codecov
if: ${{ github.event_name != 'pull_request' }}
uses: codecov/[email protected]
with:
file: ./coverage.out
flags: ${{ runner.os }}
token: ${{ secrets.CODECOV_TOKEN }}