diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 70d7a9489..4f7aa5628 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -206,7 +206,7 @@ jobs: name: love-windows-${{ steps.vars.outputs.arch }}${{ steps.vars.outputs.compatname }}-dbg path: pdb/Release/*.pdb - name: Run All Tests - run: build/love-windows-${{ steps.vars.outputs.arch }}${{ steps.vars.outputs.compatname }}.exe testing --runAllTests + run: "build/love-windows-${{ steps.vars.outputs.arch }}${{ steps.vars.outputs.compatname }}.exe" "testing" --console --runAllTests - name: Test Report uses: dorny/test-reporter@v1 with: diff --git a/testing/classes/TestMethod.lua b/testing/classes/TestMethod.lua index 7ef97ec81..7422fb935 100644 --- a/testing/classes/TestMethod.lua +++ b/testing/classes/TestMethod.lua @@ -303,13 +303,15 @@ TestMethod = { -- get failure/skip message for output (if any) local failure = '' local output = '' + -- @NOTE if you don't put anything inside of the then + -- dorny/test-reporter@v1 will fail to parse it if self.passed == false and self.skipped == false then failure = '\t\t\t\n' + self.result.message .. '">' .. self.result.key .. ' ' .. self.result.message .. '\n' output = self.result.key .. ' ' .. self.result.message end if output == '' and self.skipped == true then - failure = '\t\t\t\n' + failure = '\t\t\t\n' output = self.skipreason end