Skip to content

Commit

Permalink
Run stress tests for a long time
Browse files Browse the repository at this point in the history
  • Loading branch information
mafredri committed Jan 5, 2023
1 parent d7faf08 commit 4850f57
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,12 @@ jobs:
uses: actions/checkout@v2

- name: Run tests
timeout-minutes: 1
timeout-minutes: 10
run: |
zsh --version
script -q <<<'zsh -if ./test.zsh -v; exit $?'
for i in $(seq 1 100); do
script -q <<<'zsh -if ./test.zsh -v -run stress; exit $?' || exit $?
done
ubuntu:
name: Ubuntu
Expand Down Expand Up @@ -80,8 +82,10 @@ jobs:
uses: actions/checkout@v2

- name: Run tests
timeout-minutes: 1
timeout-minutes: 10
run: |
export PATH="/opt/zsh/bin:$PATH"
zsh --version
script -qec 'zsh -if ./test.zsh -v' /dev/null
for i in $(seq 1 100); do
script -qec 'zsh -if ./test.zsh -v -run stress' /dev/null || exit $?
done

0 comments on commit 4850f57

Please sign in to comment.