mirror of
https://github.com/tonytins/tomas.git
synced 2025-06-25 10:04:43 -04:00
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:
parent
19f7483fbd
commit
c10e753c39
11 changed files with 237 additions and 127 deletions
19
.github/workflows/dotnet.yml
vendored
19
.github/workflows/dotnet.yml
vendored
|
@ -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
|
Loading…
Add table
Add a link
Reference in a new issue