Skip to content

Merge pull request #8 from szymmirr/dependabot/github_actions/actions… #40

Merge pull request #8 from szymmirr/dependabot/github_actions/actions…

Merge pull request #8 from szymmirr/dependabot/github_actions/actions… #40

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@v4
env:
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }}
UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }}
with:
githubToken: ${{ secrets.GITHUB_TOKEN }}
- name: Upload results
uses: actions/upload-artifact@v4
with:
name: unity-test-results
path: artifacts