Fix link to ci.yml

This commit is contained in:
Stef Heyenrath
2024-06-18 21:54:42 +02:00
parent 90747462eb
commit 8a60950620
2 changed files with 8 additions and 26 deletions

View File

@@ -1,4 +1,4 @@
name: Build with Tests name: Run Tests
on: on:
pull_request: pull_request:
@@ -10,47 +10,29 @@ on:
jobs: jobs:
windows-build-and-run: windows-build-and-run:
name: Run Tests on Windows
runs-on: windows-2022 runs-on: windows-2022
env: env:
IsRunningOnGitHubActions: 'true' IsRunningOnGitHubActions: 'true'
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- uses: actions/setup-dotnet@v3
with:
dotnet-version: |
7.0.x
8.0.x
- name: 'Build Unit Tests'
run: |
dotnet build './test/WireMock.Net.Tests/WireMock.Net.Tests.csproj' -c Release --framework net7.0
- name: 'Run Unit Tests' - name: 'Run Unit Tests'
run: | run: |
dotnet test './test/WireMock.Net.Tests/WireMock.Net.Tests.csproj' -c Release --framework net7.0 dotnet test './test/WireMock.Net.Tests/WireMock.Net.Tests.csproj' -c Release --framework net8.0
linux-build-and-run: linux-build-and-run:
name: Run Tests on Linux
runs-on: ubuntu-latest runs-on: ubuntu-latest
env: env:
IsRunningOnGitHubActions: 'true' IsRunningOnGitHubActions: 'true'
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- uses: actions/setup-dotnet@v3
with:
dotnet-version: |
7.0.x
8.0.x
- name: 'Build Unit Tests'
run: |
dotnet build './test/WireMock.Net.Tests/WireMock.Net.Tests.csproj' -c Release --framework net7.0
- name: 'Run Unit Tests' - name: 'Run Unit Tests'
run: | run: |
dotnet test './test/WireMock.Net.Tests/WireMock.Net.Tests.csproj' -c Release --framework net7.0 dotnet test './test/WireMock.Net.Tests/WireMock.Net.Tests.csproj' -c Release --framework net8.0

View File

@@ -70,7 +70,7 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WireMock.Net.Console.Net472
EndProject EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Actions", "Actions", "{1DAEFF47-D117-4E95-8B3E-4F7C8B92011A}" Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Actions", "Actions", "{1DAEFF47-D117-4E95-8B3E-4F7C8B92011A}"
ProjectSection(SolutionItems) = preProject ProjectSection(SolutionItems) = preProject
..\System.Linq.Dynamic.Core\.github\workflows\ci.yml = ..\System.Linq.Dynamic.Core\.github\workflows\ci.yml .github\workflows\ci.yml = .github\workflows\ci.yml
.github\workflows\CreateRelease.yml = .github\workflows\CreateRelease.yml .github\workflows\CreateRelease.yml = .github\workflows\CreateRelease.yml
EndProjectSection EndProjectSection
EndProject EndProject