Files
daily-blackout-check/.gitea/workflows/test.yml
Meghdad 4218e4ac36
All checks were successful
Test blackout notifier / test (push) Successful in 3m41s
Hourly blackout check / check (push) Successful in 8s
Implemented the full clean rewrite for Gitea
2026-07-17 04:33:16 +03:30

33 lines
628 B
YAML

name: Test blackout notifier
on:
push:
paths-ignore:
- state/outages.json
pull_request:
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: https://gitea.com/actions/checkout@v4
- name: Set up Python
uses: https://gitea.com/actions/setup-python@v5
with:
python-version: "3.13"
- name: Install project
run: python -m pip install -e '.[test]'
- name: Lint
run: ruff check .
- name: Check formatting
run: ruff format --check .
- name: Test
run: pytest