From b6d6b53f3921b184b8844e7dcb35f79bdd7e7576 Mon Sep 17 00:00:00 2001 From: Dev Date: Thu, 4 Jun 2026 21:07:02 +0300 Subject: [PATCH] ci: add Gitea Actions workflow (pytest) for orchestrator self-hosting --- .gitea/workflows/ci.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .gitea/workflows/ci.yml diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml new file mode 100644 index 0000000..2283a95 --- /dev/null +++ b/.gitea/workflows/ci.yml @@ -0,0 +1,22 @@ +name: CI +on: + push: + branches: ["feature/**", "bugfix/**", "hotfix/**", "fix/**", "ci/**"] + pull_request: + branches: [main] + +jobs: + test: + runs-on: self-hosted + steps: + - uses: actions/checkout@v4 + - name: Install dependencies + run: | + python3 -m pip install --user --upgrade pip + python3 -m pip install --user -r requirements.txt + - name: Test + env: + PYTHONPATH: ${{ github.workspace }} + run: | + export PATH="$HOME/.local/bin:$PATH" + python3 -m pytest tests/ -q