Skip to content

Commit

Permalink
Create unity-tests.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
szymmirr authored Oct 6, 2023
1 parent f377e5c commit bf2a249
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/unity-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Test Unity

on: [push, pull_request]

jobs:
test:
name: Run tests
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Run Unity tests
uses: game-ci/unity-test-runner@v3
env:
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE2 }}
with:
githubToken: ${{ secrets.GITHUB_TOKEN }}
- name: Upload results
uses: actions/upload-artifact@v3.1.3
with:
name: unity-test-results
path: artifacts

0 comments on commit bf2a249

Please sign in to comment.