Skip to content

Commit

Permalink
ci: add test ci of monitor
Browse files Browse the repository at this point in the history
  • Loading branch information
Redish101 committed Sep 20, 2024
1 parent f622a17 commit b9168f1
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/test-monitor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: "Test Monitor"

on:
push:
branches:
- master
- main
paths:
- 'monitor/**'
pull_request:
paths:
- 'monitor/**'

jobs:
Tests:
runs-on: ubuntu-latest
strategy:
matrix:
go-version:
- 1.19.x
- 1.20.x
- 1.21.x
steps:
- name: Fetch Repository
uses: actions/checkout@v4
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: '${{ matrix.go-version }}'
- name: Run Test
working-directory: ./monitor
run: go test -v -race ./...

0 comments on commit b9168f1

Please # to comment.