Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit e602934

Browse filesBrowse files
authored
ci : schedule slow server tests only on Release or on demand (#5839)
1 parent 8ef969a commit e602934
Copy full SHA for e602934

File tree

Expand file treeCollapse file tree

1 file changed

+7
-2
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+7
-2
lines changed

‎.github/workflows/server.yml

Copy file name to clipboardExpand all lines: .github/workflows/server.yml
+7-2Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@ name: Server
33

44
on:
55
workflow_dispatch: # allows manual triggering
6+
inputs:
7+
slow_tests:
8+
description: 'Run slow tests'
9+
required: true
10+
type: boolean
611
push:
712
branches:
813
- master
@@ -11,7 +16,7 @@ on:
1116
types: [opened, synchronize, reopened]
1217
paths: ['.github/workflows/server.yml', '**/CMakeLists.txt', '**/Makefile', '**/*.h', '**/*.hpp', '**/*.c', '**/*.cpp', '**/*.cu', '**/*.swift', '**/*.m', 'examples/server/tests/**.*']
1318
schedule:
14-
- cron: '00 0 * * *'
19+
- cron: '0 0 * * *'
1520

1621
jobs:
1722
server:
@@ -80,7 +85,7 @@ jobs:
8085
8186
- name: Slow tests
8287
id: server_integration_tests_slow
83-
if: github.event.schedule != ''
88+
if: ${{ github.event.schedule != '' && matrix.build_type == 'Release' || github.event.inputs.slow_tests == 'true' }}
8489
run: |
8590
cd examples/server/tests
8691
PORT=8888 ./tests.sh --stop --no-skipped --no-capture --tags slow

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.