Skip to content

Commit 6afc9a7

Browse files
authored
Merge pull request #1528 from ydb-platform/support-no-tests-label
Do not run tests if label `no tests`
2 parents b911372 + bea4754 commit 6afc9a7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/tests.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ on:
1212

1313
jobs:
1414
unit:
15+
if: (!contains(github.event.pull_request.labels.*.name, 'no tests'))
1516
concurrency:
1617
group: unit-${{ github.event_name }}-${{ github.ref }}-${{ matrix.os }}-${{ matrix.go-version }}
1718
cancel-in-progress: true
@@ -43,6 +44,7 @@ jobs:
4344
env:
4445
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
4546
integration:
47+
if: (!contains(github.event.pull_request.labels.*.name, 'no tests'))
4648
concurrency:
4749
group: integration-${{ github.event_name }}-${{ github.ref }}-${{ matrix.os }}-${{ matrix.go-version }}-${{ matrix.ydb-version }}
4850
cancel-in-progress: true
@@ -96,6 +98,7 @@ jobs:
9698
env:
9799
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
98100
experiment:
101+
if: (!contains(github.event.pull_request.labels.*.name, 'no tests'))
99102
concurrency:
100103
group: experiment-${{ github.event_name }}-${{ github.ref }}-${{ matrix.os }}-${{ matrix.go-version }}-${{ matrix.ydb-version }}
101104
cancel-in-progress: true

0 commit comments

Comments
 (0)