-
-
Notifications
You must be signed in to change notification settings - Fork 451
36 lines (26 loc) · 730 Bytes
/
test-linux.yml
File metadata and controls
36 lines (26 loc) · 730 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: Test Linux
on:
push:
branches:
- '**'
pull_request:
schedule:
- cron: '17 5 * * *'
jobs:
test-linux:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v5
with:
go-version: 1.22
- uses: actions/checkout@v4
- run: go generate
- run: go run ./lib/utils/ci-test -race -coverprofile=coverage.out -run=^Test . ./lib/utils ./lib/proto ./lib/cdp ./lib/defaults ./lib/devices ./lib/launcher ./lib/input
- run: go run github.com/ysmood/got/cmd/check-cov@latest
- uses: actions/upload-artifact@v4
if: ${{ always() }}
with:
name: cdp-log-linux
path: |
tmp/cdp-log
coverage.out