From d2a184ff0cc5e63c903371da9e1af38910360eb8 Mon Sep 17 00:00:00 2001 From: Zoe Roux Date: Mon, 29 Mar 2021 23:45:50 +0200 Subject: [PATCH] Adding a test CI --- .github/workflows/tests.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/tests.yml diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml new file mode 100644 index 00000000..6a41d747 --- /dev/null +++ b/.github/workflows/tests.yml @@ -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