Commit Graph

44 Commits (e3bac048b1dfb51270b469c0a5e649e9c7a8acce)

Author SHA1 Message Date
Aaron Trudeau 7338fb9975
merge main and fix no-abbreviation eslint error 2022-03-25 14:00:00 -04:00
Paul Pacheco 33bc4be9fa
fix: operation not permitted in self hosted runners (#172)
Self hosted runners in fedora make the docker.sock a link to /run/podman/podman.sock

Trying to set the :z on docker.sock seems to cause:
```
Error: lsetxattr /var/run/docker.sock: operation not permitted

Error: The process '/usr/bin/docker' failed with exit code 126
```
I think the :z may be broken for links?  hard to tell.
2022-03-23 14:14:44 +01:00
Paul Pacheco 79715c7e78
feat: support self-hosted runners (#170)
* feat: support self-hosted runners

similar to https://github.com/game-ci/unity-builder/pull/355

* Use $RUNNER_TEMP variable instead of hardcoded path for _github_home and _github_workflow
* create the folders if they don't exist
* mount volumes with :z for compatibility with SELinux

* compile typescript files
2022-03-11 18:46:28 +01:00
Aaron Trudeau 441ad80ded
add error for missing tests folder 2022-03-01 01:19:09 -05:00
Aaron Trudeau a04ac8389d
move package name validation to TS part of action 2022-02-28 22:26:50 -05:00
Aaron Trudeau 2a1d0bf088
add packageMode option back in 2022-01-17 11:50:44 -05:00
Aaron Trudeau 19b81ef90a
remove duplicate command 2022-01-17 10:51:43 -05:00
Aaron Trudeau 6da30c5538
Merge branch 'main' of https://github.com/game-ci/unity-test-runner into game-ci-main 2022-01-17 10:24:33 -05:00
David Finol aa7a119f32
Updated GitHub dependencies to restore checks functionality (#159)
* Fix checks

* Update packages
2022-01-11 07:44:47 -06:00
David Finol 6b2660eabd Fix paths 2022-01-11 06:32:54 -06:00
David Finol cdfccd0aad
Refactor to typescript (#158)
* Refactor to typescript

* Fix platform and workflow

* Fix workflow and platform

* Update husky and image-tag

* Use 'yarn lint-staged' instead of 'npx lint-staged'
2022-01-11 05:52:29 -06:00
David Finol 8a69fc6be3
Sync input with documentation (#155) 2022-01-01 14:38:47 -06:00
Webber Takken 79e50e3e4f
allow space in between words of project name (#151)
Co-authored-by: David Finol <davidmfinol@gmail.com>
2021-11-10 13:30:58 +01:00
Robin 576ef39bb6
add private github package support using personal access token (#152)
* add private github package support using pat

* add index.js after yarn build

* shift gitcrediental step before run_tests
2021-11-03 10:25:06 +01:00
Michal Cichra a2b1ed6631
show console output in the GitHub Check annotations (#149)
The annotation raw details now include console output (if available) and stack trace.
2021-10-21 15:53:41 -05:00
Aaron Trudeau 1a54f845f3
Add new input and basic test 2021-10-21 00:10:08 -04:00
Aaron Trudeau d9147cdc1d
Fix failing test's Docker image 2021-10-20 23:32:32 -04:00
Aaron Trudeau f9b95906a6
remove silent setting from docker test 2021-10-20 02:02:41 -04:00
Jason Millard dfd8e1e91f
update findAnnotationPoint to use first entry with non-zero line number (#138)
* update findAnnotationPoint to use first entry with non-zero line number

* misc: improve comment in findAnnotationPoint
2021-07-22 19:22:55 +02:00
Jason Millard c56b66a41b
input: add support for tildes in folder names (#135) 2021-07-20 17:39:53 +02:00
David Finol 6838fda7a4
Improve error message (#132) 2021-07-01 06:39:05 -05:00
David Finol cf55f1c921
Fix workflow error (#128)
* Fix workflow error

Add checks for annotation.message and annotation.raw_details

* Fix workflow error

* Fix error when using Assert.Fail()
2021-05-30 18:52:46 -05:00
ivan-hernandez-scopely 19661e2da7
Using SSH_AUTH_SOCK (ssh agent forwarding) to pull upm private repos (#124)
* using SSH_AUTH_SOCK (ssh agent forwarding) to pull upm private repos

* sshAgent as input parameter

* yarn run prettier --write "src/**/*.{js,ts}"

* yarn run lint --fix && yarn build

* reverted results-meta.ts (changed because ran prettier --check "src/**/*.js" without && eslint src)

* removed RUN apt-get update && apt-get install -y openssh-client. This change needs to be done upstream. See game-ci/docker#117
2021-05-28 23:55:58 +02:00
David Finol 0674feac28
Fix workflow error (#125)
* Fix workflow error

Add checks for annotation.message and annotation.raw_details

* Fix workflow error
2021-05-23 17:22:53 -05:00
Webber Takken 1fcc491cbe
Accept PascalCase for testmodes EditMode and PlayMode (#115)
* Accept PascalCase for testmodes EditMode and PlayMode

* update index
2021-05-09 18:35:40 +02:00
David Finol fffbf11b2a
Small results-check refactor for debugging (#104)
* Small results-check refactor for debugging

* Fix #103
2021-03-06 00:55:03 -06:00
David Finol 215f660c06
Check GitHub token (#99)
* Reeplace createCheck option with check for githubToken

* Fix index.js
2021-02-28 00:44:56 -06:00
David Finol 43d90c252f
Feature/create check (#97) 2021-02-27 12:13:19 -06:00
Vladimir Kryukov 2656f4e108
Cherry pick try-catch block to output results if build is failing (#90) 2021-01-17 21:55:27 +01:00
Vladimir Kryukov 26807aaf05
Dependency bump (#88)
* Bump all dependencies to the latest versions

* Fix prettifier configuration after bump; Fix issues found by new versions of prettifier & eslint;

* Add information about yarn lint & test into CONTRIBUTING.md; Add better description of `yarn build` step in the pipeline
2021-01-11 01:05:18 +01:00
David Finol 0c3e710069
Get unityVersion from ProjectVersion.txt (#84) 2020-12-28 12:02:31 +01:00
mob-sakai a067c3d5ab
fix: parameter 'customImage' is not working (#83) 2020-12-17 14:30:51 +01:00
Devashish Lal 31cd755121
docker repo migrated (#77) 2020-11-26 18:19:17 +01:00
mob-sakai 29899d84e8 feat: support custom image 2020-11-26 14:15:18 +01:00
Collin Dauphinee a4e8475a2f Adding useHostNetwork option 2020-04-02 12:29:34 +02:00
litefeel 7c1cba9a39 Change UNITY_LICENSE_PATH to UNITY_LICENSE_FILE 2020-03-09 23:57:17 +01:00
litefeel 29e179f50b Add UNITY_LICENSE_PATH 2020-03-09 23:57:17 +01:00
Webber 5423e61ad7 fix custom parameters 2020-02-01 20:45:21 +01:00
Webber b181c9cdbe Add missing env 2020-01-31 01:15:59 +01:00
Webber a18b837919 Update and test folder regex 2020-01-31 01:15:59 +01:00
Webber 24fe88806a Save the best for last 2020-01-31 01:15:59 +01:00
Webber 3ccd77fd44 Add custom parameters 2020-01-31 01:15:59 +01:00
Webber 28154ea36e Enforce real folder names 2020-01-31 01:15:59 +01:00
Webber d6c937fe37 Add action logic 2020-01-31 01:15:59 +01:00