Add dotnet test GitHub Action

This commit is contained in:
Cucumberrbob 2025-02-17 22:38:10 +00:00
parent a366328472
commit f21fd6d8f3
No known key found for this signature in database
GPG key ID: 2B935C47401C3614

24
.github/workflows/dotnet-test.yml vendored Normal file
View file

@ -0,0 +1,24 @@
name: dotnet test
on:
push:
pull_request:
branches: [ "master" ]
jobs:
build:
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 server
- name: Build
run: dotnet build --no-restore server
- name: Test
run: dotnet test --no-build --verbosity normal server