Skip to content

process: also handle SIGHUP in onInterruptSignal #134

process: also handle SIGHUP in onInterruptSignal

process: also handle SIGHUP in onInterruptSignal #134

Workflow file for this run

name: CI
on: [push]
jobs:
Test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version-file: go.mod
- name: Cache
uses: actions/cache@v2
with:
path: |
~/.cache/go-build
~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Test
run: go test -v ./... -coverprofile=coverage.out -covermode=atomic -bench=./...
- name: Install Goveralls # this step must come after running the tests, to prevent dependency version conflicts
run: |
go get github.com/mattn/goveralls
- name: Send Code Coverage
uses: shogo82148/actions-goveralls@v1
with:
path-to-profile: coverage.out