From 4b6f6dcb17aacc099ba5f4101f43cd0a7d633983 Mon Sep 17 00:00:00 2001 From: Refringe Date: Tue, 7 Jan 2025 21:11:26 -0500 Subject: [PATCH] Initial Test Workflow Doesn't include caching for dependencies, but we don't really have any yet... --- .github/workflows/test.yaml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 .github/workflows/test.yaml diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml new file mode 100644 index 00000000..f318fe9c --- /dev/null +++ b/.github/workflows/test.yaml @@ -0,0 +1,33 @@ +name: Run Tests + +on: + push: + branches: ["*"] + pull_request: + branches: ["*"] + +jobs: + build: + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: [windows-latest, ubuntu-latest] + steps: + - name: Checkout + uses: actions/checkout@v4 + with: + lfs: true + + - name: Setup .NET + uses: actions/setup-dotnet@v4 + with: + dotnet-version: 9.0 + + - name: Restore Dependencies + run: dotnet restore + + - name: Build + run: dotnet build --configuration Release --no-restore + + - name: Run Tests + run: dotnet test --configuration Release --no-restore --verbosity normal