From 89d2e0e6336b89e1ccf2f4d4b36da04e3e2b0b05 Mon Sep 17 00:00:00 2001 From: Robert Schmid Date: Mon, 20 Nov 2023 10:41:49 +0100 Subject: [PATCH] Add separate dotnet test workflow --- .github/workflows/docker-images.yml | 2 +- .github/workflows/dotnet-test.yml | 19 +++++++++++++++++++ 2 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/dotnet-test.yml diff --git a/.github/workflows/docker-images.yml b/.github/workflows/docker-images.yml index 9b2925c..c888c6c 100644 --- a/.github/workflows/docker-images.yml +++ b/.github/workflows/docker-images.yml @@ -36,7 +36,7 @@ jobs: - name: Setup .NET uses: actions/setup-dotnet@v2 with: - dotnet-version: 6.0.x + dotnet-version: 7.0.x - name: Restore dependencies run: dotnet restore src/${{ matrix.subsystem }} - name: Build diff --git a/.github/workflows/dotnet-test.yml b/.github/workflows/dotnet-test.yml new file mode 100644 index 0000000..127ab21 --- /dev/null +++ b/.github/workflows/dotnet-test.yml @@ -0,0 +1,19 @@ +name: dotnet test + +on: [push] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + - name: Setup dotnet + uses: actions/setup-dotnet@v3 + with: + dotnet-version: 7.0.x + - name: Restore dependencies + run: dotnet restore src/FieldElementSubsystems.Test + - name: Test + run: dotnet test --no-restore src/FieldElementSubsystems.Test