Skip to content

Commit fd1b0de

Browse files
authored
Upd regression workflow (#12369)
1 parent 9cd2117 commit fd1b0de

File tree

1 file changed

+16
-3
lines changed

1 file changed

+16
-3
lines changed

.github/workflows/regression_run.yml

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,28 @@ name: Regression-run
33
on:
44
workflow_dispatch:
55

6-
76
jobs:
87
main:
98
name: Build and run tests
109
runs-on: [ self-hosted, "${{ inputs.runner_label || 'auto-provisioned' }}", "${{ format('build-preset-{0}', inputs.build_preset || 'relwithdebinfo') }}" ]
1110
strategy:
1211
fail-fast: false # do not stop wf if the tests in one of the configurations failed
1312
matrix:
14-
build_preset: [relwithdebinfo, release-asan, release-msan, release-tsan] # list of build presets to run in each brunch
1513
branch: [main] # branches to test
14+
build_preset: [relwithdebinfo, release-asan, release-msan, release-tsan] # list of build presets to run in each brunch
15+
include:
16+
- build_preset: relwithdebinfo
17+
threads_count: 52
18+
timeout: 300
19+
- build_preset: release-asan
20+
threads_count: 20
21+
timeout: 420
22+
- build_preset: release-msan
23+
threads_count: 20
24+
timeout: 420
25+
- build_preset: release-tsan
26+
threads_count: 20
27+
timeout: 420
1628

1729
steps:
1830
- name: Checkout
@@ -31,6 +43,7 @@ jobs:
3143
ci_ydb_service_account_key_file_credentials: ${{ secrets.CI_YDB_SERVICE_ACCOUNT_KEY_FILE_CREDENTIALS }}
3244

3345
- name: Build and test
46+
timeout-minutes: ${{ matrix.timeout }}
3447
uses: ./.github/actions/build_and_test_ya
3548
with:
3649
build_preset: ${{ matrix.build_preset }}
@@ -41,7 +54,7 @@ jobs:
4154
test_retry_count: 3
4255
test_size: small,medium,large
4356
test_type: unittest,py3test,py2test,pytest
44-
test_threads: 52
57+
test_threads: ${{ matrix.threads_count }}
4558
put_build_results_to_cache: false
4659
additional_ya_make_args: -DDEBUGINFO_LINES_ONLY # we don't need full symbols in CI checks
4760
secs: ${{ format('{{"TESTMO_TOKEN2":"{0}","AWS_KEY_ID":"{1}","AWS_KEY_VALUE":"{2}","REMOTE_CACHE_USERNAME":"{3}","REMOTE_CACHE_PASSWORD":"{4}"}}',

0 commit comments

Comments
 (0)