From b0da25fc8ce58731c960afb5fbd28d0aeda6bd31 Mon Sep 17 00:00:00 2001 From: Anton Herzog Date: Sun, 17 Sep 2023 17:15:55 +0200 Subject: [PATCH] Add github action workflow for tests --- .github/workflows/test.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/test.yml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 00000000..2918b2d3 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,26 @@ +name: Tests + +on: [push] + +jobs: + build: + + runs-on: windows-latest + + steps: + - uses: actions/checkout@v3 + - name: Setup .NET Core SDKs + uses: actions/setup-dotnet@v3 + with: + dotnet-version: | + 6.0.X + 7.0.X + 8.0.X + - name: Install dependencies + run: dotnet restore + - name: Build + run: dotnet msbuild -target:solution .\build.proj + - name: Unit Tests + run: dotnet msbuild -target:unittests .\build.proj + - name: Story Tests + run: dotnet msbuild -target:storytests .\build.proj \ No newline at end of file