Skip to content

Add some tests

Add some tests #70

name: Build the Engine (Windows)
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup .NET
uses: actions/setup-dotnet@v2
with:
dotnet-version: 8.0.x
- name: workload install
run: dotnet workload install maui
- name: Restore dependencies
run: dotnet restore engine/Orbit.Engine/Orbit.Engine.csproj
- name: Restore dependencies
run: dotnet restore engine/Orbit.Engine.Tests/Orbit.Engine.Tests.csproj
- name: Build engine
run: dotnet build engine/Orbit.Engine/Orbit.Engine.csproj --no-restore
- name: Build tests
run: dotnet build engine/Orbit.Engine.Tests/Orbit.Engine.Tests.csproj --no-restore
- name: Run tests
run: dotnet test engine/Orbit.Engine.Tests/Orbit.Engine.Tests.csproj --no-restore