Implemented the full clean rewrite for Gitea
This commit is contained in:
32
.gitea/workflows/test.yml
Normal file
32
.gitea/workflows/test.yml
Normal file
@@ -0,0 +1,32 @@
|
||||
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
|
||||
Reference in New Issue
Block a user