Commit Graph

192 Commits (db4d1c6f2de5c4092d4a78585ce7d81d5eb1ef48)

Author SHA1 Message Date
Nick Maltbie db4d1c6f2d Fixed broken paths for coverage results upload in main.yml 2022-04-19 23:43:28 -04:00
Nick Maltbie 7c0f210aae Updated parameter names and default values for code coverage 2022-04-19 23:37:24 -04:00
Nick Maltbie 2e6c7ac4f3 Updated test cases in main.yml 2022-04-18 23:27:32 -04:00
Nick Maltbie 849404de92 Corrected bash arguments 2022-04-18 23:18:10 -04:00
Nick Maltbie 4cf6166634 Fixed parameters for running tests via bash 2022-04-18 22:54:10 -04:00
Nick Maltbie 20266aa542 Fixed runTests variable assignment 2022-04-18 22:44:39 -04:00
Nick Maltbie 3330348b11 Updated run_tests syntax error for '=' operator 2022-04-18 22:31:27 -04:00
Nick Maltbie 42789d4aae Fixed for loop in run_tests.sh 2022-04-18 21:56:06 -04:00
Nick Maltbie 983c8944a9 Fixed small syntax error 2022-04-18 21:49:03 -04:00
Nick Maltbie 2bbdf7fbb2 Updated run_tests script 2022-04-18 21:44:49 -04:00
Nick Maltbie b6ab2c193b Updated run_tests to remove incorrect ';' 2022-04-18 21:30:09 -04:00
Nick Maltbie e12c9e370d Updated run_tests.sh script to simplfy some parameters 2022-04-18 21:16:23 -04:00
Nick Maltbie 41bec93f8a Updated tests and bash script for running 2022-04-18 21:03:45 -04:00
Nick Maltbie 3297ad7442 Updated parameters and added tests 2022-04-18 19:57:08 -04:00
Nick Maltbie 0fb209bbbf updated test workflows 2022-04-17 14:51:40 -07:00
Nick Maltbie 33d5aaaf3e Updated testing workflows 2022-04-17 14:27:47 -07:00
Nick Maltbie 6c7303574d Fixed error when creating combined code coverage results 2022-04-17 14:23:07 -07:00
Nick Maltbie 34e7b217b7 Updated project run settings 2022-04-17 13:05:17 -07:00
Nick Maltbie 518ed9a30c Fixed error in test file build 2022-04-17 11:17:43 -07:00
Nick Maltbie e6bf7af5cd Enabled code coverage flag for code coverage tests 2022-04-17 11:12:30 -07:00
Nick Maltbie 4e47c4f2d3 Fixed small syntax error 2022-04-17 11:06:33 -07:00
Nick Maltbie 0c52fb8b55 Updated coverage parameter documentation 2022-04-17 11:05:43 -07:00
Nick Maltbie a899b54084 Updated to add more tests for code coverage build 2022-04-17 11:01:24 -07:00
Nick Maltbie 8c539b2b05 Added code coverage project to manifest 2022-04-17 10:00:34 -07:00
Nick Maltbie 22372c39f4 fixed ENABLE_CODE_COVERAGE to be `true` or `false` 2022-04-16 20:21:06 -07:00
Nick Maltbie 3407decdfb Added basic coverage results building and combination 2022-04-16 20:17:14 -07:00
Nick Maltbie d6f31010f5 Added basic framework for enable code coverage 2022-04-16 19:04:39 -07: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
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
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
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
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
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