Aaron Trudeau
580c9c14a0
fix false positive activation file detection
2022-05-10 23:49:47 -04:00
Aaron Trudeau
b20d994b5d
add logic to copy package to folder without activation file
2022-05-10 23:47:07 -04:00
Aaron Trudeau
139a8b1b78
Revert "TEMP console log project folder"
...
This reverts commit 411ec51817
.
2022-05-10 23:46:31 -04:00
Aaron Trudeau
411ec51817
TEMP console log project folder
2022-05-10 22:53:52 -04:00
Aaron Trudeau
b47553ab19
add assembly filters for coverage
2022-04-26 22:56:50 -04:00
Aaron Trudeau
ebd7a750c5
Revert "add codecoverage dependency to test package"
...
This reverts commit 4b2c03069d
.
2022-04-26 22:37:34 -04:00
Aaron Trudeau
4b2c03069d
add codecoverage dependency to test package
2022-04-26 20:33:31 -04:00
Aaron Trudeau
7eda8741f4
update name of package coverage steps
2022-04-26 19:56:22 -04:00
Aaron Trudeau
d0104eb324
add coverage to package mode tests
2022-04-26 19:46:44 -04:00
Aaron Trudeau
c927250c22
remove temp project manifest log
2022-04-26 13:35:16 -04:00
Aaron Trudeau
1580d4cb48
add code coverage package to generated project
2022-04-26 13:21:43 -04:00
Aaron Trudeau
c942fae210
TEMP log project's manifest
2022-04-26 12:55:11 -04:00
Aaron Trudeau
d8ac8df79d
Revert "TEMP list installed packages"
...
This reverts commit db9c07da38
.
2022-04-26 12:28:22 -04:00
Aaron Trudeau
793451abba
Merge remote-tracking branch 'upstream/main'
2022-04-26 11:55:45 -04:00
Nick Maltbie
d95f760d49
Changed eableCyclomaticComplexity to generateAdditionalMetrics ( #183 )
...
* Changed eableCyclomaticComplexity to generateAdditionalMetrics for coverageOptions
* updated codecoverage to version 1.1.1
2022-04-22 01:08:44 +02:00
Nick Maltbie
96562463cf
Code Coverage Support ( #182 )
...
* Added basic framework for enable code coverage
* Added basic coverage results building and combination
* fixed ENABLE_CODE_COVERAGE to be `true` or `false`
* Added code coverage project to manifest
* Updated to add more tests for code coverage build
* Updated coverage parameter documentation
* Fixed small syntax error
* Enabled code coverage flag for code coverage tests
* Fixed error in test file build
* Updated project run settings
* Fixed error when creating combined code coverage results
* Updated testing workflows
* updated test workflows
* Updated parameters and added tests
* Updated tests and bash script for running
* Updated run_tests.sh script to simplfy some parameters
* Updated run_tests to remove incorrect ';'
* Updated run_tests script
* Fixed small syntax error
* Fixed for loop in run_tests.sh
* Updated run_tests syntax error for '=' operator
* Fixed runTests variable assignment
* Fixed parameters for running tests via bash
* Corrected bash arguments
* Updated test cases in main.yml
* Updated parameter names and default values for code coverage
* Fixed broken paths for coverage results upload in main.yml
* Corrected names of coverage results artifacts
2022-04-21 10:50:37 +02:00
dependabot[bot]
ec4f39253f
Bump actions/upload-artifact from 2 to 3 ( #180 )
...
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact ) from 2 to 3.
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](https://github.com/actions/upload-artifact/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: actions/upload-artifact
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-04-11 12:24:59 +02:00
Webber Takken
67402dce6f
feat: upgrade to images of version 1 (rolling tag) ( #179 )
...
* feat: upgrade to images of version 1 (rolling tag)
* fix: broken husky hook
2022-04-03 17:59:11 +02:00
Paul Pacheco
50a3bd4138
perf: avoid creating temporary docker image ( #177 )
...
* avoid building custom image
* Rebuild
* fix wrong folder for entrypoint.sh
* run with bash
* fix path to bash
* Mount with permissions
* Rebuild
* add missing continuation
* rebuild
* Fix docker invocation
* delete unused code
* Fix test
* remove old comment
* Fix code styles
Co-authored-by: Webber Takken <webber.nl@gmail.com>
2022-04-03 12:14:39 +02:00
Aaron Trudeau
db9c07da38
TEMP list installed packages
2022-03-30 21:04:08 -04:00
Aaron Trudeau
14f2743fbd
Revert "Revert "remove jq install""
...
This reverts commit e3bac048b1
.
2022-03-30 20:26:14 -04:00
Aaron Trudeau
2fe4078c8d
Revert "TEMP log image in use"
...
This reverts commit 95722dcab4
.
2022-03-30 19:55:22 -04:00
Aaron Trudeau
95722dcab4
TEMP log image in use
2022-03-30 19:54:37 -04:00
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
Paul Pacheco
f87ed30c30
feat: work with rootless docker ( #175 )
...
Running docker currently mounts the docker.sock file into the container.
This was introduced in d6c937fe37
but
there is no explanation provided.
The docker.sock file is only needed if we want to run docker inside the container
to create other images or start other containers.
I searched through the code and I did not find any such use.
In particular, on fedora this gives permission denied because docker.sock
is owned by root and the container runs under an unprivileged user.
One has to change the permissions of docker.sock
(which is actually a link to /run/podman/podman.sock) to be writeable by the user.
If we don't need to use docker inside the containers, then we can remove this file,
thus we can run this GitHub action as an unprivileged user out of the box.
2022-03-27 03:03:16 +02:00
dependabot[bot]
29ad0eb103
Bump minimist from 1.2.5 to 1.2.6 ( #174 )
...
Bumps [minimist](https://github.com/substack/minimist ) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases )
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6 )
---
updated-dependencies:
- dependency-name: minimist
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-27 03:01:26 +02: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