Skip to content

Commit de148ec

Browse files
authored
Add delay between main test and benchmark. (#9)
Signed-off-by: Samuel Williams <samuel.williams@oriontransfer.co.nz>
1 parent 4d68425 commit de148ec

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

.github/workflows/test.yaml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,14 @@
11
name: Test
22

3-
on: [push, pull_request]
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
branches:
9+
- main
10+
schedule:
11+
- cron: '0 20 * * *'
412

513
permissions:
614
contents: read
@@ -84,7 +92,9 @@ jobs:
8492
run: bundle exec bake test
8593

8694
- name: Run benchmarks
95+
timeout-minutes: 10
8796
run: |
97+
sleep 60
8898
bundle exec ${{matrix.server}} &
8999
bundle exec benchmark-http wait ${{matrix.endpoint}}
90100
bundle exec benchmark-http latency ${{matrix.endpoint}}

0 commit comments

Comments
 (0)