Commit Graph

225 Commits (e3bac048b1dfb51270b469c0a5e649e9c7a8acce)

Author SHA1 Message Date
Aaron Trudeau e3bac048b1
Revert "remove jq install"
This reverts commit bd35ac8f6f.
2022-03-30 19:40:38 -04:00
Aaron Trudeau bd35ac8f6f
remove jq install 2022-03-29 23:08:49 -04:00
Aaron Trudeau acea6b686b
update docs to reflect unsupported packages 2022-03-25 14:33:16 -04:00
Aaron Trudeau 7338fb9975
merge main and fix no-abbreviation eslint error 2022-03-25 14:00:00 -04:00
Paul Pacheco 8324e03548
Rebuild after docker.sock:z fix (#173) 2022-03-23 19:42:20 +01: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
dependabot[bot] 538792b218
Bump actions/cache from 2 to 3 (#171)
Bumps [actions/cache](https://github.com/actions/cache) from 2 to 3.
- [Release notes](https://github.com/actions/cache/releases)
- [Commits](https://github.com/actions/cache/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-21 11:44:02 +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
dependabot[bot] 174e562151
Bump actions/checkout from 2 to 3 (#167)
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-02 11:50:10 +01:00
Aaron Trudeau 441ad80ded
add error for missing tests folder 2022-03-01 01:19:09 -05:00
Aaron Trudeau 140183dae2
make husky hook executable 2022-02-28 22:49:00 -05:00
Aaron Trudeau 7f6ed5d052
improve logging for temp project creation failure 2022-02-28 22:47:29 -05:00
Aaron Trudeau 27b9700bdf
Merge branch 'main' of https://github.com/trudeaua21/unity-test-runner 2022-02-28 22:31:49 -05:00
Aaron Trudeau c984699c55
Merge branch 'game-ci:main' into main 2022-02-28 22:29:00 -05:00
Aaron Trudeau a04ac8389d
move package name validation to TS part of action 2022-02-28 22:26:50 -05:00
dependabot[bot] 2a6814ff04
Bump node-fetch from 2.6.6 to 2.6.7 (#166)
Bumps [node-fetch](https://github.com/node-fetch/node-fetch) from 2.6.6 to 2.6.7.
- [Release notes](https://github.com/node-fetch/node-fetch/releases)
- [Commits](https://github.com/node-fetch/node-fetch/compare/v2.6.6...v2.6.7)

---
updated-dependencies:
- dependency-name: node-fetch
  dependency-type: indirect
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-25 16:20:43 -06:00
dependabot[bot] 905eb66d7f
Bump actions/setup-node from 2 to 3 (#165)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 2 to 3.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-25 15:34:08 -06:00
Aaron Trudeau 7a6805e756
update README to mention Unity packages 2022-02-22 21:17:05 -05:00
Aaron Trudeau 362048460f
clarify allowed docker images for packageMode 2022-02-22 21:11:26 -05:00
Aaron Trudeau 99e23337e3
clean up documentation and exit code 2022-02-06 19:32:25 -05:00
Aaron Trudeau 2011208d88
fix combined artifacts for package mode 2022-02-06 19:05:27 -05:00
Aaron Trudeau 980e6b77f6
fix artifacts pathing and names 2022-02-06 18:58:53 -05:00
Aaron Trudeau 5723ea95ef
fix artifacts paths 2022-02-06 18:42:27 -05:00
Aaron Trudeau 510d7f0818
remove caching/mentions of caching from package mode tests 2022-02-06 18:05:13 -05:00
Aaron Trudeau 0dfba9dfb5
try adding caching to "readme" test 2022-02-06 17:48:59 -05:00
Aaron Trudeau 9c6589deda
*hopefully actually* use correct package path 2022-02-06 17:37:56 -05:00
Aaron Trudeau 3a919c6939
use correct folder 2022-02-06 17:33:10 -05:00
Aaron Trudeau ab1facda3b
try to fix syntax error again 2022-02-06 17:30:20 -05:00
Aaron Trudeau 2742382314
fix workflow syntax error 2022-02-06 17:29:13 -05:00
Aaron Trudeau 893827593d
add package mode "like in the readme" test 2022-02-06 17:26:58 -05:00
Aaron Trudeau 9f30148453
add consecutive ppackage mode workflow step 2022-01-27 17:54:06 -05:00
Aaron Trudeau 522658a504
add package mode all mode workflow step 2022-01-27 17:45:04 -05:00
Aaron Trudeau 963f4e51b3
add play mode test without cache 2022-01-27 17:36:47 -05:00
Aaron Trudeau 9eabe57c1c
Revert "add rest of workflow tests"
This reverts commit c0bb008b2c.
2022-01-27 17:28:36 -05:00
Aaron Trudeau c0bb008b2c
add rest of workflow tests 2022-01-27 17:25:00 -05:00
Aaron Trudeau 4312493fc4
clean up logging 2022-01-27 02:32:02 -05:00
Aaron Trudeau 16c034f767
omit double quotes from jq call to retrieve package name 2022-01-27 02:25:06 -05:00
Aaron Trudeau 592e9599d3
add string interpolation to key 2022-01-27 02:14:38 -05:00
Aaron Trudeau f8e2231c09
try removing colon 2022-01-27 02:10:35 -05:00
Aaron Trudeau f53e41cd11
try properly using string interpolation 2022-01-27 02:04:22 -05:00
Aaron Trudeau feb610ba6d
try changing up quoting 2022-01-27 01:55:33 -05:00
Aaron Trudeau abfddf2b38
try using double quotes only 2022-01-27 01:49:21 -05:00
Aaron Trudeau e6dac78e4c
try wrapping args in parentheses 2022-01-27 01:43:36 -05:00
Aaron Trudeau f51a729750
try using different arg syntax for jq 2022-01-27 01:36:35 -05:00
Aaron Trudeau a023014ca6
try renaming jq args 2022-01-27 01:29:46 -05:00
Aaron Trudeau bcf9542234
clean up jq calls, fix variable expansion 2022-01-27 01:22:28 -05:00
Aaron Trudeau f8810dc5cf
try fixing jq calls 2022-01-27 01:12:50 -05:00
Aaron Trudeau 39b63d90b0
add jq to add package to temp project packages 2022-01-27 00:51:03 -05:00
Aaron Trudeau 798f66ed98
fix workflow package location 2022-01-27 00:26:09 -05:00
Aaron Trudeau 4f08cb5c7b
add temp pwd call to help figure out absolute pathing 2022-01-26 23:35:05 -05:00