From 00e7728f5a2ec3de73643d8ab7a9bd3a1f56f321 Mon Sep 17 00:00:00 2001 From: Tsuyoshi Hombashi Date: Sun, 19 May 2024 00:50:24 +0900 Subject: [PATCH] chore: Update pytest-md-report to version 0.6.2 Signed-off-by: Tsuyoshi Hombashi --- .github/workflows/ci.yml | 4 +++- requirements/test_requirements.txt | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) 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