Skip to content

Commit

Permalink
ci: always discard spread workers (#482)
Browse files Browse the repository at this point in the history
  • Loading branch information
lengau authored Feb 20, 2024
1 parent 17d6a04 commit e42d8df
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/spread-large.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,11 @@ jobs:
path: tests
- name: Run spread (large)
run: spread tests/spread/large/

- name: Discard spread workers
if: always()
run: |
shopt -s nullglob
for r in .spread-reuse.*.yaml; do
spread -discard -reuse-pid="$(echo "$r" | grep -o -E '[0-9]+')"
done
8 changes: 8 additions & 0 deletions .github/workflows/spread.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,11 @@ jobs:
path: tests
- name: Run spread
run: spread

- name: Discard spread workers
if: always()
run: |
shopt -s nullglob
for r in .spread-reuse.*.yaml; do
spread -discard -reuse-pid="$(echo "$r" | grep -o -E '[0-9]+')"
done

0 comments on commit e42d8df

Please sign in to comment.