Skip to content

Commit

Permalink
Allow running tests locally
Browse files Browse the repository at this point in the history
  • Loading branch information
jakublabno committed Dec 19, 2024
1 parent 99b6df1 commit c022b53
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions .github/workflows/run-unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 }}

0 comments on commit c022b53

Please sign in to comment.