diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml index 1a7ec22d51..6e992537dc 100644 --- a/.github/workflows/testing.yml +++ b/.github/workflows/testing.yml @@ -145,7 +145,11 @@ jobs: env: METPLUS_TEST_OUTPUT_BASE: ${{ runner.workspace }}/pytest_output - name: Generate coverage report - run: coverage report -m --fail-under=95 + run: | + coverage report -m --fail-under=95 + if [ $? != 0 ]; then + echo "::warning ::Code coverage is below 90%" + fi if: always() continue-on-error: true - name: Run Coveralls