2021-01-04 23:49:05 +00:00
|
|
|
name: CI Tests
|
2021-01-02 17:01:12 +00:00
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches: [ master ]
|
|
|
|
pull_request:
|
2021-07-30 09:45:46 +00:00
|
|
|
paths:
|
|
|
|
- 'Wabbajack**'
|
|
|
|
- '.github/workflows/**'
|
2021-01-02 17:01:12 +00:00
|
|
|
branches: [ master ]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
|
2021-01-02 17:18:18 +00:00
|
|
|
runs-on: self-hosted
|
2021-01-02 17:01:12 +00:00
|
|
|
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: Setup .NET
|
|
|
|
uses: actions/setup-dotnet@v1
|
|
|
|
with:
|
|
|
|
dotnet-version: 5.0.101
|
|
|
|
- name: Restore dependencies
|
|
|
|
run: dotnet restore
|
|
|
|
- name: Build
|
2021-01-03 00:12:30 +00:00
|
|
|
run: dotnet build --no-restore --configuration Release /p:Platform=x64
|
2021-01-03 00:05:34 +00:00
|
|
|
- name: Test Wabbajack.Common.Test
|
2021-01-03 23:21:48 +00:00
|
|
|
run: dotnet test --verbosity normal --configuration Release /p:Platform=x64 Wabbajack.Common.Test
|
2021-01-03 00:05:34 +00:00
|
|
|
- name: Test Compression.BSA.Test
|
2021-01-03 23:21:48 +00:00
|
|
|
run: dotnet test --verbosity normal --configuration Release /p:Platform=x64 Compression.BSA.Test
|
2021-01-03 00:05:34 +00:00
|
|
|
- name: Test Wabbajack.VirtualFileSystem.Test
|
2021-01-03 23:21:48 +00:00
|
|
|
run: dotnet test --verbosity normal --configuration Release /p:Platform=x64 Wabbajack.VirtualFileSystem.Test
|
2021-01-03 00:05:34 +00:00
|
|
|
- name: Test Wabbajack.Test
|
2021-01-03 23:21:48 +00:00
|
|
|
run: dotnet test --verbosity normal --configuration Release /p:Platform=x64 Wabbajack.Test
|
2021-01-03 00:05:34 +00:00
|
|
|
- name: Test Wabbajack.App.Test
|
2021-01-03 23:21:48 +00:00
|
|
|
run: dotnet test --verbosity normal --configuration Release /p:Platform=x64 Wabbajack.App.Test
|
2021-01-03 00:05:34 +00:00
|
|
|
- name: Test Wabbajack.Server.Test
|
2021-01-03 23:21:57 +00:00
|
|
|
run: dotnet test --verbosity normal --configuration Release /p:Platform=x64 Wabbajack.Server.Test
|