From c022b53b3fd2c73010cb66f40192fba18b126377 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20=C5=81abno?= Date: Thu, 19 Dec 2024 14:18:13 +0000 Subject: [PATCH] Allow running tests locally --- .github/workflows/run-unit-tests.yml | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/.github/workflows/run-unit-tests.yml b/.github/workflows/run-unit-tests.yml index 22200b1..6f25408 100644 --- a/.github/workflows/run-unit-tests.yml +++ b/.github/workflows/run-unit-tests.yml @@ -20,15 +20,8 @@ jobs: - name: Checkout code uses: actions/checkout@v3 - - name: Setup .NET SDK 8.0 + - name: Setup .NET SDKs uses: actions/setup-dotnet@v3 - with: - dotnet-version: '8.0' - - - name: Setup .NET SDK 9.0 - uses: actions/setup-dotnet@v3 - with: - dotnet-version: '9.0' - name: Check .NET SDKs Installed run: dotnet --list-sdks @@ -37,7 +30,7 @@ jobs: run: dotnet restore - name: Build the solution - run: dotnet build smsapi/smsapi.csproj --configuration Release --no-restore --framework net${{ matrix.dotnet-version }} + run: dotnet build --configuration Release - name: Run unit tests run: dotnet test smsapiTests/smsapiTests.csproj --configuration Release --no-build --verbosity normal --framework net${{ matrix.dotnet-version }}