game-ci / game-ci/unity-orb

Linecoverage: No such file or directory

Open
#63 4 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Shell
Stars
11
Forks
13
PR merge metrics
No merged PRs in 30d

Description

**Bug description**

When running editmode tests on circle ci I got this error : `grep: Linecoverage: No such file or directory`
When looking in the circle ci orb I saw this [line 718](https://circleci.com/developer/orbs/orb/game-ci/unity#quick-start) : `grep "$unity_project_full_path"/"$PARAM_TEST_PLATFORM"-coverage/Report/Summary.xml Linecoverage`
But if I'm right the grep command doesn't work like this it should be `grep "string" path`

**How to reproduce**

Run test on circle ci in editmode.
Here is my circle ci job :
```
test:
executor:
name: 'unity/ubuntu'
target_platform: 'android'
editor_version: '2022.3.11f1'
resource_class: 'large'
steps:
- custom_checkout
- unity/prepare-env:
project-path: '******'
- unity/test:
project-path: '******'
test-platform: 'editmode'
custom-parameters: '-buildTarget "Android" -disable-assembly-updater -coverageOptions "useProjectSettings"'
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.