generated from vrchat-community/template-package
-
Notifications
You must be signed in to change notification settings - Fork 6
46 lines (39 loc) · 1.2 KB
/
gameci.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
43
44
45
46
name: Unity CI
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- uses: anatawa12/sh-actions/resolve-vpm-packages@master
with:
repos: |
https://vpm.nadena.dev/vpm.json
https://hai-vr.github.io/vpm-listing/index.json
- uses: actions/cache@v2
with:
path: Library
key: Library-${{ runner.os }}-unity-2019.4.31f1
restore-keys: Library-
- uses: game-ci/unity-test-runner@v4
env:
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }}
UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }}
with:
githubToken: ${{ secrets.GITHUB_TOKEN }}
unityVersion: 2019.4.31f1
projectPath: .
# TODO: PlayMode (incl. All) causes GameCI to hang. figure out if it's needed?
testMode: EditMode
coverageOptions: 'generateAdditionalMetrics;generateHtmlReport;generateBadgeReport;assemblyFilters:+enitimeago.non-destructive-mmd.*'
- uses: actions/upload-artifact@v3
if: always()
with:
name: Test results
path: artifacts