Skip to content

[CI] Fix dotnet test #39

[CI] Fix dotnet test

[CI] Fix dotnet test #39

Workflow file for this run

name: Test
on: push
jobs:
test-dotnet:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v3
- uses: actions/setup-dotnet@v3
with:
dotnet-version: |
8.0.x
- run: dotnet build -c Debug
- run: dotnet test -c Debug --no-build
test-unity:
runs-on: ubuntu-latest
strategy:
matrix:
unityVersion:
- 2022.2.21f1
include:
- unityVersion: 2022.2.21f1
license: UNITY_LICENSE_2022_2
steps:
- uses: actions/checkout@v2
- uses: actions/cache@v2
with:
path: ViralRouter/Library
key: Library-VitalRouter #-${{ matrix.unityVersion }}-${{ matrix.feature }}
restore-keys: |
Library-ViralRouter-
Library-
- uses: game-ci/unity-test-runner@v4
env:
UNITY_LICENSE: ${{ secrets[matrix.license] }}
with:
projectPath: ./VitalRouter/Unity
githubToken: ${{ secrets.GITHUB_TOKEN }}