diff --git a/.forgejo/workflows/test.yaml b/.forgejo/workflows/test.yaml new file mode 100644 index 0000000..34b3eb2 --- /dev/null +++ b/.forgejo/workflows/test.yaml @@ -0,0 +1,33 @@ +name: Test + +on: + push: + branches: + - main + pull_request: + branches: + - main + workflow_call: + + +jobs: + + pytest: + runs-on: docker + container: + image: alpine:latest + steps: + - run: apk add nodejs + - uses: actions/checkout@v4 + - run: pip install -r requirements.txt + - run: pytest + + # ruff-check: + # runs-on: docker + # container: + # image: debian:bookworm + # steps: + # - uses: actions/checkout@v4 + # - run: pip install -r requirements.txt + # - run: apt install ruff + # - run: ruff check