Skip to content

fix: shutdown workers on SIGTERM or SIGINT #318

fix: shutdown workers on SIGTERM or SIGINT

fix: shutdown workers on SIGTERM or SIGINT #318

Workflow file for this run

name: Tests
on:
push:
branches:
- main
pull_request:
jobs:
test:
runs-on: ubuntu-latest
env:
GOPATH: /home/runner/go
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Go
uses: actions/setup-go@v2
with:
go-version: 1.23
- name: Check License Headers
run: make license-header-check
- name: Run Tests
run: make test-ci
- name: Check Licenses
run: make license-check
# Upload coverage report if main is set
- name: Upload Coverage Report
uses: codecov/codecov-action@v2
with:
token: ${{ secrets.CODECOV_TOKEN }} # not required for public repos
files: all.coverprofile # optional
flags: unittests # optional
fail_ci_if_error: true # optional (default = false)