Files
daily-blackout-check/.gitea/workflows/test.yml
Meghdad 308ed80ff4
Some checks failed
Test blackout notifier / test (push) Failing after 0s
Hourly blackout check / check (push) Failing after 0s
Build runner image / build (push) Failing after 2s
Publish runner image to Gitea Container Registry
2026-07-17 20:22:52 +03:30

32 lines
653 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: mahgit.ir/meghdadfadaee/daily-blackout-check-runner:latest
credentials:
username: ${{ secrets.REGISTRY_USERNAME }}
password: ${{ secrets.REGISTRY_TOKEN }}
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