Skip to content

Update unity-tests.yml #14

Update unity-tests.yml

Update unity-tests.yml #14

Workflow file for this run

name: Test Unity game
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
test:
name: Run tests
permissions: write-all
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_LICENSE }}
with:
githubToken: ${{ secrets.GITHUB_TOKEN }}
- name: Upload results
uses: actions/[email protected]
with:
name: unity-test-results
path: artifacts