diff --git a/.editorconfig b/.editorconfig index 207e5573fa..e68a558f25 100644 --- a/.editorconfig +++ b/.editorconfig @@ -9,3 +9,6 @@ indent_size = 4 # no particular reason, just specifying how our files are currently formatted [*.soar] indent_size = 3 + +[*.yml] +indent_size = 2 diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index fe03cb3f5d..e7bda520e6 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -55,7 +55,18 @@ jobs: - name: unit tests working-directory: ./out - run: ./UnitTests -e PRIMS_Sanity1 -e PRIMS_Sanity2 -f testSmemArithmetic && junit TestResults.xml + run: ./UnitTests -e PRIMS_Sanity1 -e PRIMS_Sanity2 -f testSmemArithmetic + + # reports JUnit test results as GitHub PR check. + - name: publish test report + uses: mikepenz/action-junit-report@v3 + # always run even if the previous step fails + if: always() + with: + report_paths: './out/TestResults.xml' + # disabled until https://github.com/mikepenz/action-junit-report/issues/40 is resolved + # fail_on_failure: true + annotate_only: true # TODO: run Python SML test Windows: @@ -96,5 +107,17 @@ jobs: - name: unit tests working-directory: ./out - run: ./UnitTests -e PRIMS_Sanity1 -e PRIMS_Sanity2 -f testSmemArithmetic && junit TestResults.xml + run: ./UnitTests -e PRIMS_Sanity1 -e PRIMS_Sanity2 -f testSmemArithmetic + + # reports JUnit test results as GitHub PR check. + - name: publish test report + uses: mikepenz/action-junit-report@v3 + # always run even if the previous step fails + if: always() + with: + report_paths: './out/TestResults.xml' + # disabled until https://github.com/mikepenz/action-junit-report/issues/40 is resolved + # fail_on_failure: true + annotate_only: true + # TODO: run Python SML test