From 8cc758ad73f786b3af7707746162a83e9169667b Mon Sep 17 00:00:00 2001 From: hangpersonal Date: Fri, 17 Oct 2025 20:37:44 -0700 Subject: [PATCH] Add .gitea/workflows/*.yaml --- .gitea/workflows/009_matrix.yaml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .gitea/workflows/009_matrix.yaml diff --git a/.gitea/workflows/009_matrix.yaml b/.gitea/workflows/009_matrix.yaml new file mode 100644 index 0000000..7b1bde2 --- /dev/null +++ b/.gitea/workflows/009_matrix.yaml @@ -0,0 +1,29 @@ +name: Matrix + +on: + workflow_dispatch: + +jobs: + run-tests: + strategy: + fail-fast: true + matrix: + os: [ubuntu-20.04, ubuntu-22.04] + python-version: ['3.8', '3.10'] + runs-on: ${{ matrix.os }} + steps: + - name: Checkout source code + uses: actions/checkout@v4 + + - name: Install Python + uses: actions/setup-python@v4 + with: + python-version: "${{ matrix.python-version }}" + + - name: Install tox + run: pip install tox + + - name: Run unit tests + run: | + cd backend + tox -e unit \ No newline at end of file