Skip to content

Commit

Permalink
Fix workflow (#61)
Browse files Browse the repository at this point in the history
* fix workflow

* fix planemo option
  • Loading branch information
bernt-matthias authored Nov 25, 2024
1 parent b276054 commit df31c00
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/tools.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion planemo_ci_actions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit df31c00

Please sign in to comment.