Commit Graph

226 Commits (95722dcab432168201bf69e20ad7bf8b8a48d3fa)

Author SHA1 Message Date
Aaron Trudeau 4f08cb5c7b
add temp pwd call to help figure out absolute pathing 2022-01-26 23:35:05 -05:00
Aaron Trudeau 0555c18f6d
add working example unity package with tests 2022-01-26 21:19:39 -05:00
Aaron Trudeau 8e0b824ca9
spelling and documentation fixes 2022-01-17 14:45:35 -05:00
Aaron Trudeau 7a0e9c0b69
change apt-get version check message 2022-01-17 13:58:59 -05:00
Aaron Trudeau 3f24118d3e
check for apt-get before installing jq 2022-01-17 13:30:18 -05:00
Aaron Trudeau da456a3fa0
build changes 2022-01-17 11:55:44 -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 3b96124f17
Merge branch 'game-ci-main'
Pulls in the changes from the main repo
2022-01-17 10:25:34 -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
dependabot[bot] cb6c63f07a
Bump ruairidhwm/action-cats from 1.0.1 to 1.0.2 (#154)
Bumps [ruairidhwm/action-cats](https://github.com/ruairidhwm/action-cats) from 1.0.1 to 1.0.2.
- [Release notes](https://github.com/ruairidhwm/action-cats/releases)
- [Commits](https://github.com/ruairidhwm/action-cats/compare/1.0.1...1.0.2)

---
updated-dependencies:
- dependency-name: ruairidhwm/action-cats
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-11 05:58:45 -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 87b202c6d9
Remove deprecated param from versioning (#156) 2022-01-02 19:03:02 -06:00
David Finol 8a69fc6be3
Sync input with documentation (#155) 2022-01-01 14:38:47 -06:00
David Finol f61055d56f
Fix docs link (#153) 2021-12-13 09:46:23 -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 f5125f8d1d
Remove mkdir call 2021-10-21 01:30:00 -04:00
Aaron Trudeau 635b6929b9
Revert "Test removing jq install from Dockerfile"
This reverts commit 6aa7a6f443.
2021-10-21 01:19:15 -04:00
Aaron Trudeau 6aa7a6f443
Test removing jq install from Dockerfile 2021-10-21 01:16:03 -04:00
Aaron Trudeau 1a9d37433e
Create temporary Unity Project and run tests 2021-10-21 00:53:09 -04:00
Aaron Trudeau d0b45c2f37
Use test package in test workflow 2021-10-21 00:43:42 -04:00
Aaron Trudeau b38a591326
Add test package; start using jq cli 2021-10-21 00:42:24 -04: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
Aaron Trudeau c980404606
Revert "(might fail) remove rm rf call"
This reverts commit 22f74ebca7.
2021-10-20 01:39:30 -04:00
Aaron Trudeau dff7de91ae
move things around to try to fix test 2021-10-20 01:33:47 -04:00
Aaron Trudeau 22f74ebca7
(might fail) remove rm rf call 2021-10-20 01:29:22 -04:00
Aaron Trudeau db9152881f
(should fail) add jq install to docker image 2021-10-20 01:11:23 -04:00
dependabot[bot] 3e969f16b2
Bump ansi-regex from 5.0.0 to 5.0.1 (#147)
Bumps [ansi-regex](https://github.com/chalk/ansi-regex) from 5.0.0 to 5.0.1.
- [Release notes](https://github.com/chalk/ansi-regex/releases)
- [Commits](https://github.com/chalk/ansi-regex/compare/v5.0.0...v5.0.1)

---
updated-dependencies:
- dependency-name: ansi-regex
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-25 22:39:15 +03:00
dependabot[bot] 20387ae1e0
Bump tmpl from 1.0.4 to 1.0.5 (#145)
Bumps [tmpl](https://github.com/daaku/nodejs-tmpl) from 1.0.4 to 1.0.5.
- [Release notes](https://github.com/daaku/nodejs-tmpl/releases)
- [Commits](https://github.com/daaku/nodejs-tmpl/commits/v1.0.5)

---
updated-dependencies:
- dependency-name: tmpl
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-25 22:36:55 +03:00
dependabot[bot] e13aeebe33
Bump semver-regex from 3.1.2 to 3.1.3 (#144)
Bumps [semver-regex](https://github.com/sindresorhus/semver-regex) from 3.1.2 to 3.1.3.
- [Release notes](https://github.com/sindresorhus/semver-regex/releases)
- [Commits](https://github.com/sindresorhus/semver-regex/commits)

---
updated-dependencies:
- dependency-name: semver-regex
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-25 22:36:43 +03:00
Paul Pacheco 02c0e7b60c
fix unary operator expected error (#146)
* fix unary operator expected error

The if comparisons can sometimes compare an empty variable, which gives errors like this:
```
/steps/run_tests.sh: line 71: [: =: unary operator expected
```

This PR should fix the script to address that problem. 
See an explanation of why this error happens here:
https://codefather.tech/blog/bash-unary-operator-expected/

* fix missing quote

* Posix shell compliance

Posix shell does not do ==,  it only does one =

* consistent spaces
2021-09-25 22:36:17 +03:00
David Finol 7563db4160
Use exit code to fail when code compile fails (#143) 2021-08-28 12:48:23 -05:00
Paul Boocock 19201393f1
useNetworkHost should be useHostNetwork in action.yml (#141) 2021-08-21 15:06:06 +02:00
dependabot[bot] 9488ba6d77
Bump path-parse from 1.0.6 to 1.0.7 (#139)
Bumps [path-parse](https://github.com/jbgutierrez/path-parse) from 1.0.6 to 1.0.7.
- [Release notes](https://github.com/jbgutierrez/path-parse/releases)
- [Commits](https://github.com/jbgutierrez/path-parse/commits/v1.0.7)

---
updated-dependencies:
- dependency-name: path-parse
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-12 13:17:34 +02: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
Webber Takken 4d6a166cb7
Indicate how to support us (#134) 2021-07-12 19:28:06 +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
dependabot[bot] ad11a10dc8
Bump hosted-git-info from 2.8.8 to 2.8.9 (#117)
Bumps [hosted-git-info](https://github.com/npm/hosted-git-info) from 2.8.8 to 2.8.9.
- [Release notes](https://github.com/npm/hosted-git-info/releases)
- [Changelog](https://github.com/npm/hosted-git-info/blob/v2.8.9/CHANGELOG.md)
- [Commits](https://github.com/npm/hosted-git-info/compare/v2.8.8...v2.8.9)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-29 00:07:54 +02:00
dependabot[bot] 5aaa7eff53
Bump ws from 7.4.2 to 7.4.6 (#127)
Bumps [ws](https://github.com/websockets/ws) from 7.4.2 to 7.4.6.
- [Release notes](https://github.com/websockets/ws/releases)
- [Commits](https://github.com/websockets/ws/compare/7.4.2...7.4.6)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-29 00:07:41 +02: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
dependabot[bot] 5eca106c01
Bump browserslist from 4.16.1 to 4.16.6 (#126)
Bumps [browserslist](https://github.com/browserslist/browserslist) from 4.16.1 to 4.16.6.
- [Release notes](https://github.com/browserslist/browserslist/releases)
- [Changelog](https://github.com/browserslist/browserslist/blob/main/CHANGELOG.md)
- [Commits](https://github.com/browserslist/browserslist/compare/4.16.1...4.16.6)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-26 12:20:27 +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