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