Big Omnibus Patch #29
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Run tests | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
jobs: | |
build: | |
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 test~/Promul.Tests/Promul.Tests.csproj && dotnet restore test~/Promul.Server.Tests/Promul.Server.Tests.csproj | |
- name: Build | |
run: dotnet build test~/Promul.Tests/Promul.Tests.csproj --no-restore && dotnet build test~/Promul.Server.Tests/Promul.Server.Tests.csproj --no-restore | |
- name: Test core | |
run: dotnet test test~/Promul.Tests/Promul.Tests.csproj --no-build --verbosity normal | |
- name: Test server | |
run: dotnet test test~/Promul.Server.Tests/Promul.Server.Tests.csproj --no-build --verbosity normal |