forked from donkeyProgramming/TheAssetEditor
-
Notifications
You must be signed in to change notification settings - Fork 1
42 lines (31 loc) · 1.23 KB
/
pr-test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
name: Run-Unit-Test
on:
pull_request:
push:
branches:
- master
workflow_dispatch:
jobs:
build-and-test:
runs-on: windows-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Setup .NET Core
uses: actions/setup-dotnet@v3
with:
dotnet-version: '9.x'
- name: Install dependencies
run: dotnet restore
- name: Build the project
run: dotnet build AssetEditor\AssetEditor.csproj --no-restore
- name: Run Shared.Core Tests
run: dotnet test Testing\Shared.Core.Test\Test.Shared.Core.csproj --no-restore --verbosity normal
- name: Run GameWorld.Core Tests
run: dotnet test Testing\GameWorld.Core.Test\Test.GameWorld.Core.csproj --no-restore --verbosity normal
- name: Run E2E Verification Tests
run: dotnet test Testing\E2EVerification\Test.E2EVerification.csproj --no-restore --verbosity normal
- name: Run Editors.ImportExport Tests
run: dotnet test Editors\ImportExportEditor\Test.ImportExport\Test.ImportExport.csproj --no-restore --verbosity normal
- name: Run Editors.SkeletonEditor Tests
run: dotnet test Editors\SkeletonEditor\Test.SkeletonEditor\Test.SkeletonEditor.csproj --no-restore --verbosity normal