mirror of
https://github.com/ClusterCockpit/cc-metric-collector.git
synced 2024-11-10 04:27:25 +01:00
21 lines
441 B
YAML
21 lines
441 B
YAML
name: Run Test
|
|
on: push
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
|
|
# See: https://github.com/marketplace/actions/setup-go-environment
|
|
- name: Setup Golang
|
|
uses: actions/setup-go@v2.1.5
|
|
with:
|
|
go-version: '^1.17.6'
|
|
|
|
- name: Build MetricCollector
|
|
run: make
|
|
|
|
- name: Run MetricCollector
|
|
run: ./cc-metric-collector --once --config .github/ci-config.json
|