Merge pull request #9 from dcronqvist/automatic-test-runs

Add automatic test runs on PRs
This commit is contained in:
dcronqvist 2024-08-17 21:31:50 +02:00 committed by GitHub
commit 580e630148
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

22
.github/workflows/tests.yml vendored Normal file
View file

@ -0,0 +1,22 @@
on:
pull_request:
branches:
- master
- dev
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build --no-restore
- name: Test
run: dotnet test --no-build --verbosity normal