Skip to content

Commit

Permalink
Create test.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
GitMensch authored Sep 30, 2024
1 parent fd232c6 commit 2121160
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
jobs:
build:
runs-on: windows-latest
steps:
- name: Set up MSYS2
uses: msys2/setup-msys2@v2

- name: Run script with signal handling
timeout-minutes: 1 # kil job instead of workflow
run: |
bash -c '
trap "echo SIGTERM catched && ps -aef && top" SIGTERM;
echo "starting process...";
sleep 10000;
echo "Process ended."
'

0 comments on commit 2121160

Please sign in to comment.