From 3de703716f21a383b9b0e7ed4a63f23f2e7e4d33 Mon Sep 17 00:00:00 2001 From: jlightner Date: Fri, 3 Apr 2026 06:06:20 +0000 Subject: [PATCH] ci: add Forgejo Actions workflow for test automation Runs ruff lint and pytest on push/PR to master. --- .forgejo/workflows/ci.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .forgejo/workflows/ci.yml diff --git a/.forgejo/workflows/ci.yml b/.forgejo/workflows/ci.yml new file mode 100644 index 0000000..5583b41 --- /dev/null +++ b/.forgejo/workflows/ci.yml @@ -0,0 +1,25 @@ +name: CI + +on: + push: + branches: [master] + pull_request: + branches: [master] + +jobs: + test: + runs-on: python + defaults: + run: + working-directory: services/api + steps: + - uses: actions/checkout@v4 + + - name: Install dependencies + run: pip install -e ".[dev]" + + - name: Lint + run: ruff check app/ tests/ + + - name: Run tests + run: python -m pytest tests/ -v