diff --git a/.github/workflows/run_tests.yml b/.github/workflows/run_tests.yml index d0deb562..c94fdbce 100644 --- a/.github/workflows/run_tests.yml +++ b/.github/workflows/run_tests.yml @@ -12,10 +12,18 @@ jobs: uses: actions/checkout@v3 - run: pwd - run: WD=`(cd ../../.. && pwd)` && export RAVEN_LIBS_NAME="raven_libs_"`basename $WD` && ./initalize_tests.sh - - run: source raven/scripts/establish_conda_env.sh --load && ./run_tests - - name: Archive + - run: source raven/scripts/establish_conda_env.sh --load && ./check_py_coverage.sh + - run: COV_PCT=`coverage report --format=total` + - run: echo "::notice title=Coverage Summary::Code coverage for this repository is now $COV_PCT%. See 'coverage_results' in Artifacts for details." + - name: Archive tests results uses: actions/upload-artifact@v4 if: always() with: name: tests_results path: tests + - name: Archive coverage results + uses: actions/upload-artifact@v4 + if: always() + with: + name: coverage_results + path: tests/coverage_html_report