From 2a98a07ad39f194ed2288dedf8d933ca7ab0bee0 Mon Sep 17 00:00:00 2001 From: Tony Bark Date: Fri, 18 Aug 2023 01:54:58 -0400 Subject: [PATCH] Unit tests --- .github/workflows/{dotnet.yml => build.yml} | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) rename .github/workflows/{dotnet.yml => build.yml} (58%) diff --git a/.github/workflows/dotnet.yml b/.github/workflows/build.yml similarity index 58% rename from .github/workflows/dotnet.yml rename to .github/workflows/build.yml index d85c46f..d85bfb1 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/build.yml @@ -27,3 +27,23 @@ jobs: run: dotnet restore - name: Build run: dotnet build --configuration Release --no-restore + test: + timeout-minutes: 15 + continue-on-error: true + runs-on: "ubuntu-latest" + env: + NUGET_PACKAGES: ${{ github.workspace }}/.nuget/packages + strategy: + matrix: + dotnet: ["8.0.x"] + steps: + - uses: actions/checkout@v2 + - name: Setup .NET + uses: actions/setup-dotnet@v3 + with: + dotnet-version: ${{ matrix.dotnet }} + dotnet-quality: 'preview' + - name: Install dependencies + run: dotnet restore + - name: Test + run: dotnet test --no-restore