Skip to content

Commit e975a48

Browse files
Fix CI workflow: use find
seems that galaxyproject#7293 introduced some problem if there is only one artifact
1 parent 1696bfc commit e975a48

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/pr.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,8 @@ jobs:
354354
mode: check
355355
- name: Check if all test chunks succeeded
356356
run: |
357-
NFILES=$(ls artifacts/ | grep "Tool test output" | wc -l)
357+
ls artifacts/
358+
NFILES=$(find artifacts/ -name "tool_test_output.json" | wc -l)
358359
if [[ "${{ needs.setup.outputs.chunk-count }}" != "$NFILES" ]]; then
359360
exit 1
360361
fi

0 commit comments

Comments
 (0)