Skip to content

Commit 91ff623

Browse files
committed
[CI] Allow skipping tests
1 parent 773ecc1 commit 91ff623

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/nightly-builds.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ env:
55

66
on:
77
workflow_dispatch:
8+
inputs:
9+
skip_tests:
10+
description: Skip Tests
11+
type: boolean
12+
default: false
13+
required: true
814
push:
915
paths-ignore:
1016
- "README.md"
@@ -44,13 +50,15 @@ jobs:
4450
version: ${{ needs.vars.outputs.version }}
4551

4652
tests:
53+
if: ${{ !inputs.skip_tests }}
4754
needs: [vars, datagen]
4855
uses: ./.github/workflows/_run-gametests.yml
4956
secrets: inherit
5057
with:
5158
version: ${{ needs.vars.outputs.version }}
5259

5360
publish:
61+
if: ${{ jobs.datagen.result == 'success' }}
5462
needs: [vars, tests]
5563
uses: ./.github/workflows/_publish.yml
5664
secrets: inherit

0 commit comments

Comments
 (0)