Commit Graph

69 Commits (ffb0014506637341ad738a8d209c659dbc87d63e)

Author SHA1 Message Date
Aaron Trudeau ffb0014506
Merge in changes 2023-05-23 20:29:00 -04:00
Tim Cassell 31086d9859
Add standalone testmode support (#219)
* Add standalone support.

* Add standalone tests.

* UnityStandaloneScripts volume on windows

* Update test framework in test project.

* Revert IL2CPP setting in test project.
Add test for IL2CPP.

* Update dist/test-standalone-scripts/Assets/Player/UnityTestRunnerAction/TestRunCallback.cs

Co-authored-by: Webber Takken <webber.nl@gmail.com>

* Use 2019.2.21f1

* Unity is being dumb, use 2019.4.40f1 for all workflows.

* Disable PlayerConnection on build.
Print player log.

* Add comment about code coverage support in standalone.

* Update node-version in test

---------

Co-authored-by: Webber Takken <webber.nl@gmail.com>
2023-04-20 22:23:15 -05:00
Nick Maltbie be0f55d3cf
Added dontClear coverage flag to default coverage options (#202) 2022-12-04 01:21:13 +01:00
Webber Takken 26c9b7abe1
Update FUNDING.yml (#192) 2022-09-17 13:50:07 -04:00
Aaron Trudeau b47553ab19
add assembly filters for coverage 2022-04-26 22:56:50 -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 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
Aaron Trudeau 7338fb9975
merge main and fix no-abbreviation eslint error 2022-03-25 14:00:00 -04: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
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 c984699c55
Merge branch 'game-ci:main' into main 2022-02-28 22:29:00 -05: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 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 798f66ed98
fix workflow package location 2022-01-27 00:26:09 -05:00
Aaron Trudeau 8e0b824ca9
spelling and documentation fixes 2022-01-17 14:45:35 -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
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
Aaron Trudeau d0b45c2f37
Use test package in test workflow 2021-10-21 00:43:42 -04:00
Aaron Trudeau 1a54f845f3
Add new input and basic test 2021-10-21 00:10:08 -04:00
Webber Takken 4d6a166cb7
Indicate how to support us (#134) 2021-07-12 19:28:06 +02:00
Webber Takken 6ec7057a28
Fix typo in issue tempalte (#123) 2021-05-13 14:01:23 +02:00
Webber Takken f95bef8f16
Add issue templates (#122) 2021-05-13 13:52:48 +02:00
dependabot-preview[bot] 73c6b8aa34
Upgrade to GitHub-native Dependabot (#114)
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-04-30 01:37:49 +02:00
David Finol a195213baa
Update versioning.yml (#101) 2021-02-28 10:33:02 -06:00
David Finol 8033066291
Create versioning.yml (#100) 2021-02-28 10:02:56 -06:00
mob-sakai 345f4c64bd
Security (#94)
* fix(test): embed unity license

* fix(test): checkout head

* fix(test): use `pull_request` event instead of `pull_request_target` event
2021-02-08 15:23:31 +01:00
Webber 23b6b8f5f3 Fix typo 2021-01-23 11:27:16 +01:00
Webber Takken 6e30d4827d
secure license (#92)
* secure license

* Ignore runs for changes in github workflow...

... as it can become rather confusing if you try to change a workflow, but it doesn't trigger on the PR itself, but on main only.
2021-01-23 11:10:40 +01:00
Webber Takken 50e6471ee4
Expire artifacts faster (#91) 2021-01-23 10:44:31 +01:00
Webber 6a039cc828 Add cats 2021-01-23 10:39:27 +01:00