Files
daily-blackout-check/.gitea/workflows/test.yml
Meghdad c23e8b98f7
All checks were successful
Test blackout notifier / test (push) Successful in 4s
Use prebuilt Docker image for Gitea workflows
2026-07-17 19:49:15 +03:30

29 lines
511 B
YAML

name: Test blackout notifier
on:
push:
paths-ignore:
- state/outages.json
pull_request:
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
container:
image: daily-blackout-check-runner:latest
env:
PYTHONPATH: src
steps:
- name: Check out repository
uses: https://gitea.com/actions/checkout@v4
- name: Lint
run: ruff check .
- name: Check formatting
run: ruff format --check .
- name: Test
run: pytest