diff options
author | Nikita Kozlovskiy <nikitka@gmail.com> | 2023-11-09 22:03:04 +0300 |
---|---|---|
committer | nkozlovskiy <nmk@ydb.tech> | 2023-11-09 22:21:51 +0300 |
commit | 89a4aec0d3a3f523ef4f4c4ff4d65f6bad29debf (patch) | |
tree | 08b24ed6b8894d662131027a8cf57fce01404810 | |
parent | dd516109838dae54a2e77ada88c177a76403f8c3 (diff) | |
download | ydb-89a4aec0d3a3f523ef4f4c4ff4d65f6bad29debf.tar.gz |
add canonization tests support
add canonization tests support
Pull Request resolved: https://github.com/ydb-platform/ydb/pull/432
-rw-r--r-- | .github/actions/build_ya/action.yml | 2 | ||||
-rw-r--r-- | .github/actions/test_ya/action.yml | 10 |
2 files changed, 4 insertions, 8 deletions
diff --git a/.github/actions/build_ya/action.yml b/.github/actions/build_ya/action.yml index 05a0b719e2..86138fc583 100644 --- a/.github/actions/build_ya/action.yml +++ b/.github/actions/build_ya/action.yml @@ -74,7 +74,7 @@ runs: ;; esac - ./ya make --build "${build_type}" --force-build-depends -D'BUILD_LANGUAGES=CPP PY3' -T --stat \ + ./ya make --build "${build_type}" --force-build-depends -D'BUILD_LANGUAGES=CPP PY3 PY2' -T --stat \ --log-file "$TMP_DIR/ya_log.txt" --evlog-file "$TMP_DIR/ya_evlog.jsonl" \ --dump-graph --dump-graph-to-file "$TMP_DIR/ya_graph.json" \ --cache-size 512G --link-threads "${{ inputs.link_threads }}" \ diff --git a/.github/actions/test_ya/action.yml b/.github/actions/test_ya/action.yml index 97b8a42249..9c79a96d18 100644 --- a/.github/actions/test_ya/action.yml +++ b/.github/actions/test_ya/action.yml @@ -177,22 +177,18 @@ runs: extra_params+=(--bazel-remote-base-uri "${{ inputs.bazel_remote_uri }}") fi - # FIXME: remove after KIKIMR-19209 - sed -i 's/^END()/SKIP_TEST("wait for KIKIMR-19209") END()/' ydb/library/yql/tests/sql/sql2yql/ya.make - - readarray -d ',' -t test_size < <(printf "%s" "${{ inputs.test_size }}") readarray -d ',' -t test_type < <(printf "%s" "${{ inputs.test_type }}") - ./ya test -k --build "${build_type}" -D'BUILD_LANGUAGES=CPP PY3' \ + ./ya test -k --build "${build_type}" -D'BUILD_LANGUAGES=CPP PY3 PY2' \ ${test_size[@]/#/--test-size=} ${test_type[@]/#/--test-type=} \ --test-threads "${{ inputs.test_threads }}" --link-threads "${{ inputs.link_threads }}" \ --cache-size 512G --do-not-output-stderrs -T \ --stat --log-file "$LOG_DIR/ya_log.txt" --evlog-file "$LOG_DIR/ya_evlog.jsonl" \ - --dump-graph --dump-graph-to-file "$LOG_DIR/ya_graph.json" \ + --canonization-backend=ydb-canondata.storage.yandexcloud.net \ --junit "$JUNIT_REPORT_XML" --output "$OUT_DIR" "${extra_params[@]}" || ( RC=$? - if [ $RC == 10 ]; then + if [[ $RC -ge 10 && $RC -le 14 ]]; then echo "ya test returned failed tests status, recovering.." else exit $RC |