Unit tests

- Renamed GlobalUsings.cs to Usings.cs
- Refractored SysFS
- Seperated building of the terminal and unit tests
- To save on resources, the unit tests job on runs on Ubuntu
This commit is contained in:
Tony Bark 2023-01-07 14:31:09 -05:00
parent 19f7483fbd
commit c10e753c39
11 changed files with 237 additions and 127 deletions

View file

@ -28,3 +28,22 @@ jobs:
run: dotnet restore src/Tomas.Terminal
- name: Build
run: dotnet build src/Tomas.Terminal -c Release --no-restore
test:
timeout-minutes: 15
continue-on-error: true
runs-on: ubuntu-latest
strategy:
matrix:
dotnet: ["6.0.x"]
steps:
- uses: actions/checkout@v2
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: ${{ matrix.dotnet }}
- name: Install test dependencies
run: dotnet restore src/Tomas.Tests
- name: Test
run: dotnet test src --no-restore --debug