diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4a78a41..2056339 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -157,12 +157,14 @@ jobs: - name: Run tests env: REPORT_OUTPUT: md_report.md + shell: bash run: | echo "REPORT_FILE=${REPORT_OUTPUT}" >> "$GITHUB_ENV" tox -e py -- --md-report-output "${REPORT_OUTPUT}" - name: Output reports to the job summary when tests fail - if: failure() && matrix.os != 'ubuntu-latest' + if: failure() + shell: bash run: | if [ -f "$REPORT_FILE" ]; then echo "
Failed Test Report" >> $GITHUB_STEP_SUMMARY diff --git a/requirements/test_requirements.txt b/requirements/test_requirements.txt index 17b8bac..6ad975e 100644 --- a/requirements/test_requirements.txt +++ b/requirements/test_requirements.txt @@ -1,2 +1,2 @@ pytest>=7 -pytest-md-report>=0.6 +pytest-md-report>=0.6.2