Set up Forgejo CI
All checks were successful
Test / pytest (push) Successful in 20s

This commit is contained in:
polyfloyd 2025-03-23 14:05:06 +01:00
parent cdf651b804
commit e72d1d2aee
4 changed files with 32 additions and 4 deletions

View file

@ -0,0 +1,30 @@
name: Test
on:
push:
branches:
- main
pull_request:
branches:
- main
workflow_call:
env:
SLIGRO_USERNAME: ${{ secrets.SLIGRO_USERNAME }}
SLIGRO_PASSWORD: ${{ secrets.SLIGRO_PASSWORD }}
jobs:
pytest:
runs-on: docker
container:
image: alpine:latest
steps:
- run: apk add nodejs py3-pip ruff
- uses: actions/checkout@v4
- run: pip install -r requirements.txt --break-system-packages
- run: pytest
- run: ruff check