Skip to content

Commit

Permalink
Add a GitHub workflow to manually test the detached mode
Browse files Browse the repository at this point in the history
To better assess how useful the detached mode is, and whether it handles
all of the corner cases correctly (client connects only during the post
job phase, job is canceled while waiting for the session to end, etc),
let's have a GitHub workflow that can be triggered manually.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
  • Loading branch information
dscho committed May 17, 2023
1 parent 192e289 commit a38d254
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/manual-detached-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Test detached mode
on: workflow_dispatch

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: ./
with:
limit-access-to-actor: true
detached: true
- run: |
echo "A busy loop"
for value in $(seq 10)
do
echo "Value: $value"
echo "value $value" >>counter.txt
sleep 1
done

0 comments on commit a38d254

Please sign in to comment.