Skip to content

test

test #16

Workflow file for this run

name: alert tests
on:
push:
jobs:
tests:
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v3
- name: Check alert rules
uses: addnab/docker-run-action@v3
with:
image: prom/prometheus:v2.47.1
options: --entrypoint sh -v ${{ github.workspace }}:/tmp
run: |
promtool test
- name: Check alert rules (old)
uses: beatlabs/promtool-github-action@v0.0.2
with:
cmd: 'test'
files: '**/tests.yaml'