summaryrefslogtreecommitdiffstats
path: root/.github/workflows/regression_whitelist_run.yml
blob: 35665d99dbf2d2ef8a5c5997118a1cfd13e33871 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
name: Regression-whitelist-run

on:
  schedule:
    - cron: "0 23 * * *"  # At 23:00 every day
  workflow_dispatch:
    inputs:
      pull_request_input:
        description: 'Pull request number (overrides use_default_branches), ex: 12345'
        required: false
        default: ''
      use_default_branches:
        description: 'If true, start main and all current stable branches. If false, start only the selected branch. Ignored if pull_request_input is set.'
        type: boolean
        required: false
        default: true

jobs:
  main:
    name: Whitelist-run
    uses: ./.github/workflows/run_tests.yml
    secrets: inherit
    strategy:
      fail-fast: false
      matrix:
        build_preset: ["relwithdebinfo", "release-asan", "release-tsan", "release-msan"]
    with:
      test_targets: ydb/tests/sql/ ydb/tests/stress ydb/tests/functional/tpc ydb/tests/functional/benchmarks_init
      branches: ${{ inputs.pull_request_input && format('pull/{0}', inputs.pull_request_input) || (startsWith(inputs.use_default_branches, 'false') && github.ref_name || '') }}
      branches_config_path: '.github/config/stable_tests_branches.json'
      build_preset: ${{ matrix.build_preset }}