Skip to content

Update actions workflow to run in self hosted runners with spread installed #209

Update actions workflow to run in self hosted runners with spread installed

Update actions workflow to run in self hosted runners with spread installed #209

Workflow file for this run

name: Test spread
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
run-tests:
runs-on: '["self-hosted", "spread-enabled"]'
steps:
- uses: actions/checkout@v2
- name: Run tests
run: |
spread google:
- 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