From 7aba3efabab6647037a4e581ecbd731b6a9d390e Mon Sep 17 00:00:00 2001 From: polyfloyd Date: Sun, 23 Mar 2025 14:05:06 +0100 Subject: [PATCH] Add forgejo test job --- .forgejo/workflows/test.yaml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 .forgejo/workflows/test.yaml diff --git a/.forgejo/workflows/test.yaml b/.forgejo/workflows/test.yaml new file mode 100644 index 0000000..67d42fc --- /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 py3-pip + - uses: actions/checkout@v4 + - run: pip install -r requirements.txt --break-system-packages + - 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