-
Notifications
You must be signed in to change notification settings - Fork 31
40 lines (31 loc) · 870 Bytes
/
Copy pathgo.yml
File metadata and controls
40 lines (31 loc) · 870 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
37
38
39
40
---
name: Test
"on":
- pull_request
- push
jobs:
test:
strategy:
matrix:
go:
- 'oldstable'
- 'stable'
label:
- ubuntu-latest-large
runs-on: ${{ matrix.label }}
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Setup Go (${{ matrix.go }})
uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0
with:
go-version: ${{ matrix.go }}
- name: Identify OS
run: uname -a
- name: Identify Go Version
run: go version
- name: Download Dependencies
run: go mod download
- name: Run Tests
run: go test -trimpath -race ./...
- name: Run Fuzz Tests
run: go test -fuzz=FuzzAppendSanitizedMetricName -fuzztime=1000000x -parallel=2 ./datadog