unity-test-runner
unity-test-runner copied to clipboard
unityLicensingServer is ignored on Windows
Bug description
The unityLicensingServer
input is completely ignored when running on Windows.
How to reproduce
- setup a job on windows github runner
runs-on: windows-latest
- add a step with
game-ci/unity-test-runner
andunityLicensingServer
in inputs:
- name: Test
uses: game-ci/unity-test-runner@main
with:
unityLicensingServer: https://server..
projectPath: .
testMode: playmode
artifactsPath: reports
checkName: UnitTests Results
- Run
- Result The run fails with
License activation strategy could not be determined.
Visit https://game.ci/docs/github/activation for more
details on how to set up one of the possible activation strategies.
Error: No valid license activation strategy could be determined. Make sure to provide UNITY_EMAIL, UNITY_PASSWORD, and either a UNITY_SERIAL \
or UNITY_LICENSE. See more info at https://game.ci/docs/github/activation
Error: The process 'C:\Windows\system32\docker.exe' failed with exit code 1
- Expected behavior The entrypoint script will acquire a new license like it does in Linux:
2024-07-24T12:07:24.1498242Z Adding licensing server config
2024-07-24T12:07:25.6318651Z Acquired floating license: "ab19b004-37e1-4f9c-..." with timeout 2024-07-
24T12:22:24.9628870+00:00
Additional details The same issue was resolved in unity-builder a few months ago - https://github.com/game-ci/unity-builder/pull/638/files