Skip to content

adding gh actions for promq tests if alerts directory is modified (#741) #18

adding gh actions for promq tests if alerts directory is modified (#741)

adding gh actions for promq tests if alerts directory is modified (#741) #18

Workflow file for this run

name: Alerts Promql tests
on:
push:
branches:
- main
paths:
- examples/alerts/**
pull_request:
branches:
- main
paths:
- 'examples/alerts/**'
jobs:
promql-tests:
name: Promql Unit tests
runs-on: ubuntu-latest
defaults:
run:
shell: bash
steps:
- name: Set up Go 1.21.x
uses: actions/setup-go@v4
with:
go-version: 1.21.x
id: go
- name: Check out code
uses: actions/checkout@v4
- name: Run Promql tests
run: |
make test-alerts