Browse Source

CI: clean up linux test names

Sasha Szpakowski 5 months ago
parent
commit
0ae90f3015
1 changed files with 12 additions and 10 deletions
  1. 12 10
      .github/workflows/main.yml

+ 12 - 10
.github/workflows/main.yml

@@ -79,7 +79,7 @@ jobs:
       uses: ellraiser/love-test-report@main
       with:
         name: Love Testsuite Linux
-        title: test-report-linux-opengl
+        title: test-report-linux-${{ runner.arch }}-opengl
         path: love2d-${{ github.sha }}/testing/output/lovetest_all.md
         token: ${{ secrets.GITHUB_TOKEN }}
     - name: Zip Test Output (opengl)
@@ -88,8 +88,8 @@ jobs:
     - name: Artifact Test Output (opengl)
       uses: actions/upload-artifact@v4
       with:
-        name: test-output-linux-opengl-${{ runner.arch }}-${{ steps.report1.outputs.conclusion }}
-        path: test-output-linux-opengl-${{ runner.arch }}.zip
+        name: test-output-linux-${{ runner.arch }}-opengl-${{ steps.report1.outputs.conclusion }}
+        path: test-output-linux-${{ runner.arch }}-opengl.zip
     # linux opengles tests
     - name: Run Test Suite (opengles)
       env:
@@ -102,7 +102,7 @@ jobs:
       id: report2
       with:
         name: Love Testsuite Linux
-        title: test-report-linux-opengles
+        title: test-report-linux-${{ runner.arch }}-opengles
         path: love2d-${{ github.sha }}/testing/output/lovetest_all.md
         token: ${{ secrets.GITHUB_TOKEN }}
     - name: Zip Test Output (opengles)
@@ -111,8 +111,8 @@ jobs:
     - name: Artifact Test Output (opengles)
       uses: actions/upload-artifact@v4
       with:
-        name: test-output-linux-opengles-${{ runner.arch }}-${{ steps.report2.outputs.conclusion }}
-        path: test-output-linux-opengles-${{ runner.arch }}.zip
+        name: test-output-linux-${{ runner.arch }}-opengles-${{ steps.report2.outputs.conclusion }}
+        path: test-output-linux-${{ runner.arch }}-opengles.zip
     # linux vulkan tests
     - name: Run Test Suite (vulkan)
       env:
@@ -122,9 +122,10 @@ jobs:
         ./love-${{ github.sha }}.AppImage love2d-${{ github.sha }}/testing/main.lua --all --isRunner --renderers vulkan
     - name: Love Test Report (vulkan)
       uses: ellraiser/love-test-report@main
+      id: report3
       with:
         name: Love Testsuite Linux
-        title: test-report-linux-vulkan
+        title: test-report-linux-${{ runner.arch }}-vulkan
         path: love2d-${{ github.sha }}/testing/output/lovetest_all.md
     - name: Zip Test Output (vulkan)
       run: |
@@ -132,8 +133,8 @@ jobs:
     - name: Artifact Test Output (vulkan)
       uses: actions/upload-artifact@v4
       with:
-        name: test-output-linux-vulkan-${{ runner.arch }}
-        path: test-output-linux-vulkan-${{ runner.arch }}.zip
+        name: test-output-linux-${{ runner.arch }}-vulkan-${{ steps.report3.outputs.conclusion }}
+        path: test-output-linux-${{ runner.arch }}-vulkan.zip
     - name: Stop xvfb and openbox
       # should always stop xvfb and openbox even if other steps failed
       if: always()
@@ -151,10 +152,11 @@ jobs:
         name: love-${{ runner.arch }}-AppImage-debug
         path: love-${{ github.sha }}.AppImage-debug.tar.gz
     - name: Check Tests Passing
-      if: steps.report1.outputs.conclusion == 'failure' || steps.report2.outputs.conclusion == 'failure'
+      if: steps.report1.outputs.conclusion == 'failure' || steps.report2.outputs.conclusion == 'failure' || steps.report3.outputs.conclusion == 'failure'
       run: |
         echo "${{ steps.report1.outputs.failed }} opengl tests failed"
         echo "${{ steps.report2.outputs.failed }} opengles tests failed"
+        echo "${{ steps.report3.outputs.failed }} vulkan tests failed"
         exit 1
 
   Windows: