0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-04-08 02:52:39 -05:00

Reverted change to Tinybird exec_test script (#22731)

no issue

- This commit reverts a change to our Tinybird `exec_test` script, which
added an exclusion to the sanity check warnings if the test included
`timezone` in its file name
- The warnings were fixed by renaming the timezone tests so they don't
start with `all`, and therefore this change to the `exec_test` script
isn't necessary
This commit is contained in:
Chris Raible 2025-03-31 21:11:30 -07:00 committed by GitHub
parent 8059bc5719
commit 421ce77be7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -15,9 +15,8 @@ check_sum() {
local file=$1
local expected_count=$2
# Skip check if file starts with "all_" AND contains "timezone" in the name
# TODO: we should handle this for all tests and in a better way
if [[ ! $(basename "$file") =~ ^all_ ]] || [[ $(basename "$file") =~ timezone ]]; then
# Only perform the check if the file starts with "all_"
if [[ ! $(basename "$file") =~ ^all_ ]]; then
return 0
fi