Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
2 changes: 1 addition & 1 deletion .github/workflows/ci3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ jobs:

ci-grind:
runs-on: ubuntu-latest
if: github.event_name == 'merge_group' || (github.event_name == 'push' && github.ref_name == 'master')
if: github.event_name == 'merge_group'
strategy:
matrix:
number: [1, 2, 3, 4, 5]
Expand Down
11 changes: 6 additions & 5 deletions ci3/run_test_cmd
Original file line number Diff line number Diff line change
Expand Up @@ -107,12 +107,13 @@ fi
function track_test {
local test_hash=$1
local line=$2
if [ "$REF_NAME" != "master" ]; then
return

# We track tests in CI, and only on master or master merge queue.
if [[ "$CI" -eq 1 && ( "$REF_NAME" == "master" || "$REF_NAME" =~ ^gh-readonly-queue/master/ ) ]]; then
redis_cli LPUSH $test_hash "$(date "+%m-%d %H:%M:%S"): $(echo -e "$line")" &>/dev/null
# Keeps only the last 1000 lines.
redis_cli RTRIM $test_hash -1000 -1 &>/dev/null
fi
redis_cli LPUSH $test_hash "$(date "+%m-%d %H:%M:%S"): $(echo -e "$line")" &>/dev/null
# Keeps only the last 1000 lines.
redis_cli RTRIM $test_hash -1000 -1 &>/dev/null
}

# Show PASSED and early out on success.
Expand Down