diff --git a/.github/workflows/solution-sanity.yml b/.github/workflows/solution-sanity.yml index 71117184..74b5601e 100644 --- a/.github/workflows/solution-sanity.yml +++ b/.github/workflows/solution-sanity.yml @@ -44,8 +44,7 @@ jobs: if: ${{ !cancelled() }} with: check_name: Unit Test Report - require_tests: "${{ steps.binaries.outcome != 'success' }}" + report_paths: "**/surefire-reports/TEST-*.xml" + require_tests: "${{ steps.binaries.outcome == 'failure' }}" fail_on_failure: true job_summary: false - report_paths: | - **/surefire-reports/TEST-*.xml diff --git a/apps/foo/src/test/java/smecalculus/bezmen/data/impl/SepulkaDaoMyBatisTest.java b/apps/foo/src/test/java/smecalculus/bezmen/data/impl/SepulkaDaoMyBatisTest.java index 9fd1a91f..f89fffab 100644 --- a/apps/foo/src/test/java/smecalculus/bezmen/data/impl/SepulkaDaoMyBatisTest.java +++ b/apps/foo/src/test/java/smecalculus/bezmen/data/impl/SepulkaDaoMyBatisTest.java @@ -1,11 +1,13 @@ package smecalculus.bezmen.data.impl; +import static org.assertj.core.api.Assertions.assertThat; + import org.junit.jupiter.api.Test; class SepulkaDaoMyBatisTest { @Test void foo() { - // empty + assertThat(false).isEqualTo(true); } }