diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index 859e99f7e2..3a0ae1c741 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -16,16 +16,16 @@ jobs: - name: Inform on no-op run: echo "Running this as a no-op job... ${{ env.IS_NOOP}}" - name: Run preparatory steps - if: ${{ env.IS_NOOP == 'true' }} + if: ${{ env.IS_NOOP == 'false' }} uses: dasch-swiss/dsp-api/.github/actions/preparation@main with: java-version: ${{ matrix.java }} - name: Run all tests - if: ${{ env.IS_NOOP == 'true' }} + if: ${{ env.IS_NOOP == 'false' }} run: ./sbtx -v coverage "webapi/test" coverageAggregate - name: WebApi Unit Test Report uses: dorny/test-reporter@v1 - if: ${{ env.IS_NOOP == 'true' && (success() || failure()) }} + if: ${{ env.IS_NOOP == 'false' && (success() || failure()) }} with: name: WebApi Unit Test Results path: ./webapi/target/test-reports/TEST-*.xml