mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-01-14 14:23:34 +01:00
38 lines
790 B
YAML
38 lines
790 B
YAML
name: Run Tests
|
|
|
|
on:
|
|
pull_request:
|
|
branches:
|
|
- '**'
|
|
push:
|
|
branches:
|
|
- 'main'
|
|
|
|
jobs:
|
|
windows-build-and-run:
|
|
name: Run Tests on Windows
|
|
runs-on: windows-2022
|
|
|
|
env:
|
|
IsRunningOnGitHubActions: 'true'
|
|
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: 'Run Unit Tests'
|
|
run: |
|
|
dotnet test './test/WireMock.Net.Tests/WireMock.Net.Tests.csproj' -c Release --framework net8.0
|
|
|
|
linux-build-and-run:
|
|
name: Run Tests on Linux
|
|
runs-on: ubuntu-latest
|
|
|
|
env:
|
|
IsRunningOnGitHubActions: 'true'
|
|
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: 'Run Unit Tests'
|
|
run: |
|
|
dotnet test './test/WireMock.Net.Tests/WireMock.Net.Tests.csproj' -c Release --framework net8.0 |