From df31c001c5a3825197b0cbfd4f2fe0bd92bde64c Mon Sep 17 00:00:00 2001 From: M Bernt Date: Mon, 25 Nov 2024 11:33:18 +0100 Subject: [PATCH] Fix workflow (#61) * fix workflow * fix planemo option --- .github/workflows/tools.yaml | 3 ++- planemo_ci_actions.sh | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tools.yaml b/.github/workflows/tools.yaml index 94f61b1..c4c17b9 100644 --- a/.github/workflows/tools.yaml +++ b/.github/workflows/tools.yaml @@ -184,11 +184,12 @@ jobs: run: | set -x # check if the ToolIDValid linter is called (no of tools - 1 ) times, i.e. is skipped once - if [ "$(grep -c ToolIDValid lint_report.txt)" != "2" ]; then + if [ "$(grep -c ToolIDValid lint_report.txt)" != "3" ]; then echo "expecting exactly 2 tests for ToolIDValid"; exit 1; fi grep tool1 lint_report.txt grep tool2 lint_report.txt + grep fail lint_report.txt grep "ERROR: Error 'HTTPConnectionPool" lint_report.txt grep "TestsNoValid" lint_report.txt test-tools: diff --git a/planemo_ci_actions.sh b/planemo_ci_actions.sh index 28c5b34..eeeec59 100755 --- a/planemo_ci_actions.sh +++ b/planemo_ci_actions.sh @@ -200,7 +200,7 @@ if [ "$MODE" == "combine" ]; then [ "$PLANEMO_MD_REPORT" == "true" ] && ( planemo test_reports upload/tool_test_output.json --test_output_markdown upload/tool_test_output.md if [ "$(stat -c %s upload/tool_test_output.md)" -gt 1048576 ]; then - planemo test_reports upload/tool_test_output.json --test_output_minimal_markdown upload/tool_test_output.md + planemo test_reports upload/tool_test_output.json --test_output_markdown_minimal upload/tool_test_output.md fi ) # get statistics