Skip to content
Open
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions .github/workflows/spread-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,12 @@ jobs:
rm -rf "${{ github.workspace }}"
mkdir "${{ github.workspace }}"

# Kill any leftover spread processes
for pid in $(pgrep spread); do
echo "Killing process $(ps -p "$pid" -o cmd || true)"
kill "$pid";
done

- name: Checkout code
uses: actions/checkout@v6
with:
Expand Down Expand Up @@ -443,6 +449,12 @@ jobs:
- name: Discard spread workers
if: always()
run: |
# Kill any leftover spread processes
for pid in $(pgrep spread); do
echo "Killing process $(ps -p "$pid" -o cmd || true)"
kill "$pid";
done

shopt -s nullglob;
for r in .spread-reuse.*.yaml; do
spread -discard -reuse-pid="$(echo "$r" | grep -o -E '[0-9]+')";
Expand Down
Loading