Skip to content

Merge branch 'dev'

Merge branch 'dev' #5

name: Build and run all tests
on:
push:
branches:
- master
pull_request:
branches:
- master
workflow_dispatch:
jobs:
buildTest:
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v4.1.6
- name: Install MSBuild
uses: microsoft/setup-msbuild@v2
- name: Install NuGet
uses: nuget/setup-nuget@v2
- name: Restore dependencies
run: nuget restore Software\E_Libra\E_Libra.sln
- name: Build solution
run: msbuild.exe Software\E_Libra\E_Libra.sln /p:platform="Any CPU" /p:configuration="Debug"
- name: Build Unit Test project
run: dotnet build Software\E_Libra\UnitTesting\UnitTesting.csproj --configuration Debug
- name: List test directories
run: tree Software\E_Libra\UnitTesting
- name: List Visual Studio directories
run: tree C:\Program Files\Microsoft Visual Studio\2022\Enterprise
- name: Run tests
run: dotnet test Software\E_Libra\E_Libra.sln --no-build --verbosity normal