Skip to content

Commit bea4754

Browse files
committed
chore: do not run tests if lable no tests
1 parent b911372 commit bea4754

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)