Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 7 additions & 5 deletions .github/actions/test_ya/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -278,10 +278,6 @@ runs:
fi

git checkout $ORIGINAL_HEAD
params+=(
--build-custom-json=$GRAPH_PATH
--custom-context=$CONTEXT_PATH
)
YA_MAKE_TARGET="ydb"
else
YA_MAKE_TARGET=""
Expand Down Expand Up @@ -393,8 +389,14 @@ runs:
monitor_memory &
MONITOR_PID=$!

if [ -z "$GRAPH_PATH" ]; then
GRAPH_OPTS="--build-custom-json=$GRAPH_PATH --custom-context=$CONTEXT_PATH"
else
GRAPH_OPTS=""
fi

set +e
(./ya make ${params[@]} ${CACHE_OPTS[@]} $YA_MAKE_TARGET \
(./ya make ${params[@]} ${CACHE_OPTS[@]} $YA_MAKE_TARGET $GRAPH_OPTS \
$RERUN_FAILED_OPT --log-file "$PUBLIC_DIR/ya_log.txt" \
--evlog-file "$CURRENT_PUBLIC_DIR/ya_evlog.jsonl" \
--junit "$CURRENT_JUNIT_XML_PATH" --build-results-report "$CURRENT_REPORT" --output "$YA_MAKE_OUT_DIR"; echo $? > exit_code) |& cat >> $YA_MAKE_OUTPUT
Expand Down
Loading