mirror of
https://github.com/rjNemo/underscore
synced 2026-06-06 10:36:43 +00:00
23 lines
618 B
YAML
23 lines
618 B
YAML
name: Tests
|
|
on: [push, pull_request]
|
|
jobs:
|
|
build:
|
|
name: Build
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@master
|
|
with:
|
|
fetch-depth: 2
|
|
- uses: actions/setup-go@v4
|
|
with:
|
|
go-version: "1.23"
|
|
- name: Run tests with coverage
|
|
run: go test -coverprofile=coverage.out -covermode=count ./...
|
|
- uses: codecov/codecov-action@v4
|
|
with:
|
|
token: ${{ secrets.CODECOV_TOKEN }}
|
|
files: ./coverage.out
|
|
flags: unittests
|
|
name: codecov-umbrella
|
|
fail_ci_if_error: true
|
|
verbose: true
|