Merge pull request #739 from Cucumberrbob/feat/github-action

Add `dotnet test` GitHub Action
This commit is contained in:
Roger Far 2025-04-13 09:16:01 -06:00 committed by GitHub
commit 1db70100e2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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