Skip to content

Commit

Permalink
Update dotnet.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
JonathanBout authored Dec 4, 2024
1 parent 6fbca82 commit 9fb3d75
Showing 1 changed file with 18 additions and 5 deletions.
23 changes: 18 additions & 5 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,32 @@ on:
- '**.md'

jobs:
build:

unit-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 9.0.x
- name: Restore dependencies
run: dotnet restore SimpleCDN.Tests/SimpleCDN.Tests.csproj
- name: Build
run: dotnet build SimpleCDN.Tests/SimpleCDN.Tests.csproj --no-restore
- name: Test
run: dotnet test SimpleCDN.Tests/SimpleCDN.Tests.csproj --no-build --verbosity normal

integration-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 9.0.x
- name: Restore dependencies
run: dotnet restore SimpleCDN.sln
run: dotnet restore SimpleCDN.Tests.Integration/SimpleCDN.Integration.csproj
- name: Build
run: dotnet build SimpleCDN.sln --no-restore
run: dotnet build SimpleCDN.Tests.Integration/SimpleCDN.Integration.csproj --no-restore
- name: Test
run: dotnet test SimpleCDN.sln --no-build --verbosity normal
run: dotnet test SimpleCDN.Tests.Integration/SimpleCDN.Integration.csproj --no-build --verbosity normal

0 comments on commit 9fb3d75

Please sign in to comment.