From f89da2c916718c42c06d653493956140d48b2acb Mon Sep 17 00:00:00 2001 From: jacobpascual Date: Sun, 11 Jan 2026 04:57:37 +0000 Subject: [PATCH] Add Gitea Actions workflow (from GitHub) --- .gitea/workflows/ci.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 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..a8759a0 --- /dev/null +++ b/.gitea/workflows/ci.yml @@ -0,0 +1,28 @@ +name: Build + +on: [push, pull_request] + +concurrency: + group: ci-${{github.actor}}-${{github.head_ref || github.run_number}}-${{github.ref}} + cancel-in-progress: true + +jobs: + build: + + runs-on: ubuntu-latest + strategy: + matrix: + python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12'] + + steps: + - uses: https://github.com/actions/checkout@v4 + - name: Set up Python ${{ matrix.python-version }} + uses: https://github.com/actions/setup-python@v4 + with: + python-version: ${{ matrix.python-version }} + - name: Install dependencies + run: | + python -m pip install --upgrade pip tox + - name: Build and test + run: | + tox