From 31d62c65e59f184d13aeef74860839665c183c78 Mon Sep 17 00:00:00 2001 From: Elias Schneider Date: Sun, 26 Jul 2026 23:05:30 +0200 Subject: [PATCH] ci/cd: run unit tests on windows and linux --- .github/workflows/unit-tests.yml | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml index bcd99c98..330ffe4f 100644 --- a/.github/workflows/unit-tests.yml +++ b/.github/workflows/unit-tests.yml @@ -11,11 +11,19 @@ on: permissions: contents: read - actions: write jobs: test-backend: - runs-on: depot-ubuntu-latest + name: Backend (${{ matrix.name }}) + strategy: + fail-fast: false + matrix: + include: + - name: Linux + runner: depot-ubuntu-latest + - name: Windows + runner: windows-latest + runs-on: ${{ matrix.runner }} steps: - uses: actions/checkout@v6 - uses: actions/setup-go@v6 @@ -28,12 +36,4 @@ jobs: go get ./... - name: Run backend unit tests working-directory: backend - run: | - set -e -o pipefail - go test -tags=exclude_frontend,unit -v ./... | tee /tmp/TestResults.log - - uses: actions/upload-artifact@v7 - if: always() - with: - name: backend-unit-tests - path: /tmp/TestResults.log - retention-days: 15 + run: go test "-tags=exclude_frontend,unit" -v ./...