Skip to content

Commit

Permalink
game-ciを利用したunityテストワークフローを作成
Browse files Browse the repository at this point in the history
  • Loading branch information
sokuhatiku committed Jan 3, 2024
1 parent eaa273c commit 5beb16b
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Run-Tests
on: push

jobs:
test:
runs-on: windows-2022
strategy:
matrix:
unity-version:
- 2019.4.31f1
- 2022.3.6f1
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
lfs: true

- name: Run tests
uses: game-ci/unity-test-runner@v4
env:
UNITY_LICENSE: ${{ secrests.UNITY_LICENSE }}
UNITY_EMAIL: ${{ secrests.UNITY_EMAIL }}
UNITY_PASSWORD: ${{ secrests.UNITY_PASSWORD }}
with:
unityVersion: ${{ matrix.unity-version }}
githubToken: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 5beb16b

Please sign in to comment.