Skip to content

Commit

Permalink
Small fix in viewing test results (#447)
Browse files Browse the repository at this point in the history
* Update 03-test-runner.mdx

Important step for uploading test results.
without this step action throws an "Integration" error.

* Update 03-test-runner.mdx

* Update instructions to list requirements properly in Viewing test results

I mainly did this commit to format changes. Thanks to xeontem :)

* reverse order of requirements for Viewing test results

---------

Co-authored-by: ARTSIOM KUKHAREV <[email protected]>
  • Loading branch information
GabLeRoux and xeontem authored Jan 5, 2024
1 parent 2ddac63 commit cd086af
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/03-github/03-test-runner.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -156,13 +156,13 @@ The test results can be viewed from a

To get this functionality, you need to do the following:

1. Provide a
1. Provide write permissions for your workflow: go to `Settings` > `Actions` > `General` >
`Workflow permissions` and choose `Read and write permissions`. By default it is set to
`Read repository content and packages permissions`.
2. Provide a
[GitHub Token](https://docs.github.com/en/actions/reference/authentication-in-a-workflow#about-the-github_token-secret)
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).
2. Provide write permissions for your workflow: go to `Settings` > `Actions` > `General` >
`Workflow permissions` and choose `Read and write permissions`. By default it is set to
`Read repository content and packages permissions`.

```yaml
- uses: game-ci/unity-test-runner@v4
Expand Down

0 comments on commit cd086af

Please sign in to comment.