Skip to content

Remove outdated Unity versions from unity-tests workflow #19

Remove outdated Unity versions from unity-tests workflow

Remove outdated Unity versions from unity-tests workflow #19

Workflow file for this run

name: Editor Tests
on:
pull_request:
branches:
- master
push:
branches:
- master
jobs:
testAllModes:
name: ${{ matrix.unityVersion }} ${{ matrix.testMode }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
projectPath:
- './'
unityVersion:
- '6000.0.23f1'
testMode:
- editmode
steps:
- uses: actions/checkout@v4
with:
lfs: false
- uses: actions/cache@v4
with:
path: ${{ matrix.projectPath }}/Library
key: Library-${{ matrix.unityVersion }}
restore-keys: |
Library-
- uses: game-ci/unity-test-runner@v4
id: tests
env:
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }}
UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }}
with:
projectPath: ${{ matrix.projectPath }}
testMode: ${{ matrix.testMode }}
artifactsPath: ${{ matrix.testMode }}-artifacts
githubToken: ${{ secrets.GITHUB_TOKEN }}
checkName: ${{ matrix.unityVersion }} ${{ matrix.testMode }} Test Results