Adding a test CI

This commit is contained in:
Zoe Roux 2021-03-29 23:45:50 +02:00
parent 757f7ad64d
commit d2a184ff0c

21
.github/workflows/tests.yml vendored Normal file
View File

@ -0,0 +1,21 @@
name: Run unit tests
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: 5.0.x
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build --no-restore '-p:SkipWebApp=true;SkipTranscoder=true'
- name: Test
run: dotnet test --no-build