Skip to content

Commit

Permalink
actions multi .net version build+test
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesmh committed Sep 20, 2024
1 parent 6a42ba9 commit 390ee17
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,40 @@ jobs:
run: dotnet test ./Src/UnitTests/CoravelUnitTests/CoravelUnitTests.csproj
- name: Integration Tests
run: dotnet test ./Src/IntegrationTests/Tests/Tests.csproj
build_and_tests_on_dotnet_7:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 7.0.x
- name: Restore dependencies
run: dotnet restore ./Src/All.sln
- name: Build
run: dotnet build ./Src/All.sln
- name: Mailer Tests
run: dotnet test ./Src/UnitTests/MailerUnitTests/MailerUnitTests.csproj
- name: Unit Tests
run: dotnet test ./Src/UnitTests/CoravelUnitTests/CoravelUnitTests.csproj
- name: Integration Tests
run: dotnet test ./Src/IntegrationTests/Tests/Tests.csproj
build_and_tests_on_dotnet_8:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 8.0.x
- name: Restore dependencies
run: dotnet restore ./Src/All.sln
- name: Build
run: dotnet build ./Src/All.sln
- name: Mailer Tests
run: dotnet test ./Src/UnitTests/MailerUnitTests/MailerUnitTests.csproj
- name: Unit Tests
run: dotnet test ./Src/UnitTests/CoravelUnitTests/CoravelUnitTests.csproj
- name: Integration Tests
run: dotnet test ./Src/IntegrationTests/Tests/Tests.csproj

0 comments on commit 390ee17

Please sign in to comment.