Skip to content

test

test #17

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: -v ${{ github.workspace }}:/tmp
run: promtool test rules /tmp/01.internal_errors_basic_counter/tests.yaml
- name: Check alert rules (old)
uses: beatlabs/promtool-github-action@v0.0.2
with:
cmd: 'test'
files: '**/tests.yaml'