From ec338562bf9405d5b7e3395c215ce3c343a623d7 Mon Sep 17 00:00:00 2001 From: Miguel Jacq Date: Thu, 13 Nov 2025 13:51:52 +1100 Subject: [PATCH] Attempt to add forgejo workflow --- .forgejo/workflows/ci.yml | 40 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 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..8267167 --- /dev/null +++ b/.forgejo/workflows/ci.yml @@ -0,0 +1,40 @@ +name: CI + +on: + push: + pull_request: + +jobs: + test: + runs-on: docker + + container: + image: debian:13 + options: --privileged + + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Install system dependencies + run: | + apt-get update + DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \ + python3 python3-venv pipx curl git ca-certificates + + - name: Install Poetry + run: | + pipx install poetry==1.8.3 + poetry --version + + - name: Install project deps (including test extras) + env: + POETRY_VIRTUALENVS_IN_PROJECT: "true" + run: | + poetry install --with test + + - name: Run test script + run: | + chmod +x ./tests.sh + ./tests.sh +