mirror of
https://github.com/kubeshark/kubeshark.git
synced 2026-01-15 14:32:07 +00:00
* Remove `tap` directory * Fix the depedencies and build errors * Fix the linter errors * Use `kubeshark/worker` image as tapper * Arrange the pod prefixes and suffixes * Don't install any dependencies in the CI * Remove `devops` directory * Don't generate eBPF object files in the CI * Fix `Makefile` * Update `Dockerfile`
32 lines
570 B
YAML
32 lines
570 B
YAML
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
pull_request:
|
|
branches:
|
|
- master
|
|
|
|
name: Test
|
|
|
|
jobs:
|
|
run-unit-tests:
|
|
name: Unit Tests
|
|
runs-on: ubuntu-latest
|
|
timeout-minutes: 20
|
|
steps:
|
|
- name: Check out code into the Go module directory
|
|
uses: actions/checkout@v2
|
|
with:
|
|
fetch-depth: 2
|
|
|
|
- name: Set up Go 1.17
|
|
uses: actions/setup-go@v2
|
|
with:
|
|
go-version: '^1.17'
|
|
|
|
- name: Test
|
|
run: make test
|
|
|
|
- name: Upload coverage to Codecov
|
|
uses: codecov/codecov-action@v2
|