Initial Test Workflow

Doesn't include caching for dependencies, but we don't really have any yet...
This commit is contained in:
Refringe
2025-01-07 21:11:26 -05:00
parent f8fd8c83ab
commit 4b6f6dcb17
+33
View File
@@ -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