Skip to content

Create a scripted demo environment that works around the operator while it's broken. #934

Create a scripted demo environment that works around the operator while it's broken.

Create a scripted demo environment that works around the operator while it's broken. #934

name: Prometheus Rules Tests
permissions:
contents: read
on:
push:
branches: [ main ]
paths:
- '_test/**'
- 'pelorus-operator/helm-charts/pelorus/**'
- '.github/workflows/prometheus-rules.yml'
pull_request:
branches: [ main ]
paths:
- '_test/**'
- 'pelorus-operator/helm-charts/pelorus/**'
- '.github/workflows/prometheus-rules.yml'
jobs:
test:
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Python 3.11
uses: actions/setup-python@v5
with:
python-version: '3.11'
cache: 'pip'
cache-dependency-path: |
**/requirements*.txt
pyproject.toml
- name: Install dependencies
run: |
make dev-env
- name: Check for formatting
run: |
make test-prometheusrules