-
-
Notifications
You must be signed in to change notification settings - Fork 10
42 lines (35 loc) · 935 Bytes
/
main.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: Actions
on: [push, pull_request]
jobs:
run_test:
name: Run Tests
permissions:
checks: write
strategy:
matrix:
unityVersion:
- 2023.2.7f1
- 2023.1.20f1
- 2022.3.19f1
- 2021.3.34f1
os:
- ubuntu-latest
# - windows-latest
runs-on: ${{ matrix.os }}
steps:
# Checkout
- name: Checkout repository
uses: actions/checkout@v4
with:
lfs: false
# Test
- name: run tests
uses: game-ci/unity-test-runner@v4
env:
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }}
UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }}
with:
packageMode: true
unityVersion: ${{ matrix.unityVersion }}
githubToken: ${{ secrets.GITHUB_TOKEN }}