Skip to content

Commit

Permalink
test: comment coverage result
Browse files Browse the repository at this point in the history
  • Loading branch information
QuakeEye committed Feb 27, 2024
1 parent aa36c1a commit 696c24a
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/test-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}


unity-test:
name: Test with Unity Test Runner
permissions: write-all
Expand All @@ -60,13 +59,19 @@ jobs:
steps:
- uses: actions/checkout@v3
- uses: game-ci/unity-test-runner@v4
id: unity-test-step
env:
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }}
UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }}
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
with:
projectPath: ./aplib.net-demo/
githubToken: ${{ secrets.GITHUB_TOKEN }}
- name: Comment Coverage
uses: thollander/actions-comment-pull-request@v2
with:
filePath: ${{ steps.unity-test-step.outputs.coveragePath }}


# build:
# name: Build for ${{ matrix.targetPlatform }}, ${{ matrix.unity-version }}
Expand Down

0 comments on commit 696c24a

Please sign in to comment.