diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 660c82a..4a51a4f 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -62,13 +62,6 @@ jobs: name: Test results - ${{ matrix.unity-version }} path: ${{ steps.tests.outputs.artifactsPath }} - # The test results have a different path than what SonarQube can read. - # We need to remove the github/workspace/ path. - - name: Fix paths - run: | - chmod +x ./ci/fix_paths.sh - ./ci/fix_paths.sh ${{ steps.tests.outputs.coveragePath }} - # Upload coverage results - name: Upload test results uses: actions/upload-artifact@v4 @@ -137,6 +130,20 @@ jobs: name: Coverage results - 2021.3.34f1 path: Coverage + # The test results have a different path than what SonarQube can read. + # We need to remove the github/workspace/ path. + - name: Fix paths + run: | + chmod +x ./ci/fix_paths.sh + ./ci/fix_paths.sh Coverage + + # For now, just upload the fixed paths + - name: Upload fixed paths + uses: actions/upload-artifact@v4 + with: + name: Fixed paths + path: Coverage + - name: SonarQube analysis env: FrameworkPathOverride: /opt/unity/Editor/Data/MonoBleedingEdge/