mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
ci: Publish test results in prs (#1665)
Now when the test run, the results are published to github PR. Failures are annotated where they happen.
This commit is contained in:
parent
52e91e7d1e
commit
51743badff
9
.github/workflows/main.yml
vendored
9
.github/workflows/main.yml
vendored
@ -73,13 +73,20 @@ jobs:
|
||||
args: -runTests -testPlatform playmode -testResults Tests/playmode-results.xml -enableCodeCoverage -coverageResultsPath Tests
|
||||
|
||||
# Upload artifacts
|
||||
- name: Publish test results
|
||||
- name: Archive test results
|
||||
uses: actions/upload-artifact@v1
|
||||
if: always()
|
||||
with:
|
||||
name: Test results (editor mode)
|
||||
path: Tests
|
||||
|
||||
- name: Publish test results
|
||||
uses: MirrorNG/nunit-reporter@1.0.1
|
||||
if: always()
|
||||
with:
|
||||
path: "Tests/*.xml"
|
||||
access-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: SonarQube analysis
|
||||
if: always()
|
||||
uses: MirrorNG/unity-runner@2.0.0
|
||||
|
Loading…
Reference in New Issue
Block a user