aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexSm <alex@ydb.tech>2023-12-12 18:22:42 +0300
committeralexv-smirnov <alex@ydb.tech>2023-12-12 19:28:57 +0300
commita3d7f0d2be0a2f1cf394428ffb4e08ea0388520f (patch)
tree7952329dcae87c35e6d99a6ce9e183fa6653bc84
parent6a41a8c80b2a542fe4c4ad0d637c8f3343705a2c (diff)
downloadydb-a3d7f0d2be0a2f1cf394428ffb4e08ea0388520f.tar.gz
Create postcommit.yml
Create postcommit.yml Pull Request resolved: https://github.com/ydb-platform/ydb/pull/499
-rw-r--r--.github/workflows/postcommit.yml27
-rw-r--r--.mapping.json1
2 files changed, 28 insertions, 0 deletions
diff --git a/.github/workflows/postcommit.yml b/.github/workflows/postcommit.yml
new file mode 100644
index 0000000000..144f4e3b65
--- /dev/null
+++ b/.github/workflows/postcommit.yml
@@ -0,0 +1,27 @@
+name: Postcommit check
+on:
+ push:
+ branches:
+ - 'main'
+ - 'stable-*'
+ paths-ignore:
+ - 'ydb/docs/**'
+ - '.github/**'
+ - '*'
+jobs:
+ build_and_test:
+ strategy:
+ fail-fast: false
+ matrix:
+ build_preset: ["relwithdebinfo", "release-asan"]
+ name: Build and test ${{ matrix.build_preset }}
+ uses: ./.github/workflows/build_and_test_ya_provisioned.yml
+ with:
+ build_preset: ${{ matrix.build_preset }}
+ build_target: "ydb/"
+ test_size: "small,medium"
+ test_type: "unittest,py3test,py2test,pytest"
+ test_threads: 52
+ runner_label: auto-provisioned
+ put_build_results_to_cache: true
+ secrets: inherit
diff --git a/.mapping.json b/.mapping.json
index 6d5b3c8002..a4a91ab6b9 100644
--- a/.mapping.json
+++ b/.mapping.json
@@ -43,6 +43,7 @@
".github/workflows/docs_preview.yaml":"ydb/github_toplevel/.github/workflows/docs_preview.yaml",
".github/workflows/docs_release.yaml":"ydb/github_toplevel/.github/workflows/docs_release.yaml",
".github/workflows/nightly_run.yaml":"ydb/github_toplevel/.github/workflows/nightly_run.yaml",
+ ".github/workflows/postcommit.yml":"ydb/github_toplevel/.github/workflows/postcommit.yml",
".github/workflows/pr_check.yml":"ydb/github_toplevel/.github/workflows/pr_check.yml",
".github/workflows/prewarm-ccache.yml":"ydb/github_toplevel/.github/workflows/prewarm-ccache.yml",
".github/workflows/prewarm-debug.yaml":"ydb/github_toplevel/.github/workflows/prewarm-debug.yaml",