Skip to content

Add support for windows filesystem in tests #26

Add support for windows filesystem in tests

Add support for windows filesystem in tests #26

Workflow file for this run

name: Build
on: [push, pull_request]
jobs:
build-Ubuntu_and_MacOs:
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.x'
- name: Build
run: for f in $(find . -name "* sln"); do dotnet build $f; done
- name: Run tests
run: for f in $(find . -name "*.sln"); do dotnet test $f; done
build-Windows:
runs-on: windows-latest
defaults:
run:
shell: cmd
steps:
- uses: actions/checkout@v4
- uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.x'
- name: Build
run: For /R %%I in (*.sln) do dotnet build %%I
- name: Run tests
run: For /R %%I in (*.sln) do dotnet test %%I