forked from ncabatoff/process-exporter
-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (34 loc) · 1.01 KB
/
integration.yml
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
# SPDX-FileCopyrightText: 2022 Comcast Cable Communications Management, LLC
# SPDX-License-Identifier: Apache-2.0
---
name: Integration
on:
push:
branches:
- main
paths-ignore:
- README.md
- CONTRIBUTING.md
- MAINTAINERS.md
- LICENSE
- NOTICE
tags:
- 'v[0-9]+.[0-9]+.[0-9]+'
pull_request:
workflow_dispatch:
jobs:
integration:
runs-on: ubuntu-latest
steps:
- name: Checkout the code
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Compile the utilities & program
shell: bash
run: |
CGO_ENABLED=0 go build -o integration-tester cmd/integration-tester/main.go
CGO_ENABLED=0 go build -o load-generator cmd/load-generator/main.go
CGO_ENABLED=0 go build -o process-exporter -a -tags netgo cmd/process-exporter/main.go
- name: Run the integration test
shell: bash
run: |
./integration-tester -write-size-bytes 65536