1
0
mirror of https://github.com/dnpm-dip/mv64e-mtb-dto-dotnet.git synced 2025-07-01 18:32:54 +00:00

Add GitHub workflow to run tests

This commit is contained in:
2024-07-12 09:57:07 +02:00
parent b1a8b4280c
commit 2a66f6a9ca

25
.github/workflows/test.yml vendored Normal file
View File

@ -0,0 +1,25 @@
name: "Run Tests"
on:
push:
branches: [ "master" ]
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: 8.0.x
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build --no-restore
- name: Run Tests
run: dotnet test --no-build --verbosity normal