server: tests: schedule slow tests on master
This commit is contained in:
parent
178b0c693d
commit
9ab72d7ade
1 changed files with 10 additions and 1 deletions
11
.github/workflows/server.yml
vendored
11
.github/workflows/server.yml
vendored
|
@ -10,6 +10,8 @@ on:
|
||||||
pull_request:
|
pull_request:
|
||||||
types: [opened, synchronize, reopened]
|
types: [opened, synchronize, reopened]
|
||||||
paths: ['.github/workflows/server.yml', '**/CMakeLists.txt', '**/Makefile', '**/*.h', '**/*.hpp', '**/*.c', '**/*.cpp', '**/*.cu', '**/*.swift', '**/*.m', 'examples/server/tests/**.*']
|
paths: ['.github/workflows/server.yml', '**/CMakeLists.txt', '**/Makefile', '**/*.h', '**/*.hpp', '**/*.c', '**/*.cpp', '**/*.cu', '**/*.swift', '**/*.m', 'examples/server/tests/**.*']
|
||||||
|
schedule:
|
||||||
|
- cron: '00 0 * * *'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
server:
|
server:
|
||||||
|
@ -71,7 +73,14 @@ jobs:
|
||||||
pip install -r examples/server/tests/requirements.txt
|
pip install -r examples/server/tests/requirements.txt
|
||||||
|
|
||||||
- name: Tests
|
- name: Tests
|
||||||
id: server_integration_test
|
id: server_integration_tests
|
||||||
run: |
|
run: |
|
||||||
cd examples/server/tests
|
cd examples/server/tests
|
||||||
PORT=8888 ./tests.sh
|
PORT=8888 ./tests.sh
|
||||||
|
|
||||||
|
- name: Slow tests
|
||||||
|
id: server_integration_tests_slow
|
||||||
|
if: github.event.schedule != ''
|
||||||
|
run: |
|
||||||
|
cd examples/server/tests
|
||||||
|
PORT=8888 ./tests.sh --no-skipped --tags slow
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue