neogeek / unity-ci-tools

🔧 Bash scripts for running Unity tests on continuous integration services
https://github.com/neogeek/unity-ci-tools
MIT License
14 stars 3 forks source link

Can I use this repo for unity script CI? #7

Open ffbh123456 opened 4 years ago

ffbh123456 commented 4 years ago

I use macos , can this repo work?

ffbh123456 commented 4 years ago

I want run unity nunit test

neogeek commented 4 years ago

Absolutely! This repo should work with all known CI services. If you are looking to use it locally, it might make sense to use just a portion of the test.sh script. To make this process easier, I have released another project used for finding the application path of Unity via the command line for macOS.

https://github.com/neogeek/find-unity

Both that and the command found in test.sh will end up looking like this.

"$(find-unity)/Contents/MacOS/Unity" \
    -batchmode \
    -nographics \
    -silent-crashes \
    -stackTraceLogType Full \
    -logFile - \
    -projectPath "$(pwd)/" \
    -runEditorTests \
    -editorTestsResultFile "$(pwd)/test.xml"
ffbh123456 commented 4 years ago

You are excellent ! it is work on my macOs, thank you for your help

ffbh123456 commented 4 years ago

And it seems only support macOs ,Are you interested in being a linux version