Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: bump unity-test-runner version in v3 docs #414

Merged
merged 2 commits into from
Sep 5, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions docs/03-github/01-getting-started.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ jobs:

# Test
- name: Run tests
uses: game-ci/unity-test-runner@v2
uses: game-ci/unity-test-runner@v3
env:
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
with:
Expand Down Expand Up @@ -160,7 +160,7 @@ jobs:

# Test
- name: Run tests
uses: game-ci/unity-test-runner@v2
uses: game-ci/unity-test-runner@v3
env:
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
with:
Expand Down Expand Up @@ -233,7 +233,7 @@ jobs:
Library-${{ matrix.projectPath }}-${{ matrix.targetPlatform }}-
Library-${{ matrix.projectPath }}-
Library-
- uses: game-ci/unity-test-runner@v2
- uses: game-ci/unity-test-runner@v3
id: testRunner
env:
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
Expand Down
22 changes: 11 additions & 11 deletions docs/03-github/03-test-runner.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ license file and add it as a secret.
Then, define the test step as follows:

```yaml
- uses: game-ci/unity-test-runner@v2
- uses: game-ci/unity-test-runner@v3
env:
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
with:
Expand All @@ -48,7 +48,7 @@ Make sure you have set up these variables in the activation step.
Define the test step as follows:

```yaml
- uses: game-ci/unity-test-runner@v2
- uses: game-ci/unity-test-runner@v3
env:
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }}
UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }}
Expand All @@ -66,7 +66,7 @@ floating license will be acquired before the tests run, and returned after.
Example of use:

```yaml
- uses: game-ci/unity-test-runner@v2
- uses: game-ci/unity-test-runner@v3
with:
projectPath: path/to/your/project
unityLicensingServer: [url to your license server]
Expand All @@ -89,7 +89,7 @@ To indicate that the test runner is being run for a Unity package rather than a
the [`packageMode`](#packagemode) configuration option to `true`.

```yaml
- uses: game-ci/unity-test-runner@v2
- uses: game-ci/unity-test-runner@v3
with:
packageMode: true
```
Expand All @@ -100,7 +100,7 @@ Make sure that you explicitly pass the [`unityVersion`](#unityversion) argument,
for the test runner to test Unity packages.

```yaml
- uses: game-ci/unity-test-runner@v2
- uses: game-ci/unity-test-runner@v3
with:
unityVersion: [your desired Unity version]
```
Expand Down Expand Up @@ -160,7 +160,7 @@ in order to view the tests results from
[a check run](https://docs.github.com/en/rest/guides/getting-started-with-the-checks-api#about-check-runs).

```yaml
- uses: game-ci/unity-test-runner@v2
- uses: game-ci/unity-test-runner@v3
with:
githubToken: ${{ secrets.GITHUB_TOKEN }}
```
Expand Down Expand Up @@ -193,7 +193,7 @@ You can specify a different `artifactsPath` in the test runner and reference thi
`id` of the test step.

```yaml
- uses: game-ci/unity-test-runner@v2
- uses: game-ci/unity-test-runner@v3
id: myTestStep
```

Expand Down Expand Up @@ -266,7 +266,7 @@ Specific docker image that should be used for testing the project. If packageMod
image must have [`jq`](https://jqlang.github.io/jq/) installed.

```yaml
- uses: game-ci/unity-test-runner@v2
- uses: game-ci/unity-test-runner@v3
with:
customImage: 'unityci/editor:2020.1.14f1-base-0'
```
Expand All @@ -293,7 +293,7 @@ Parameters must start with a hyphen (`-`) and may be followed by a value (withou
Parameters without a value will be considered booleans (with a value of true).

```yaml
- uses: game-ci/unity-test-runner@v2
- uses: game-ci/unity-test-runner@v3
with:
customParameters: -profile SomeProfile -someBoolean -someValue exampleValue
```
Expand Down Expand Up @@ -440,7 +440,7 @@ jobs:
key: Library-${{ matrix.projectPath }}
restore-keys: |
Library-
- uses: game-ci/unity-test-runner@v2
- uses: game-ci/unity-test-runner@v3
id: tests
env:
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
Expand Down Expand Up @@ -490,7 +490,7 @@ jobs:
- uses: actions/checkout@v2
with:
lfs: true
- uses: game-ci/unity-test-runner@v2
- uses: game-ci/unity-test-runner@v3
id: tests
env:
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
Expand Down
Loading