Optimizing 100B ClickHouse Events
replo.computer2 pointsby vogtb0 comments
supabase_tests := $(call rfind, supabase/tests/*_tests.sql)
DB_URL := "postgresql://postgres:postgres@localhost:54322/postgres"
test-supabase: $(supabase_tests)
@echo "Testing supabase..." && \
echo "${supabase_tests}" && \
psql -f supabase/tests/setup.sql ${DB_URL} && \
$(foreach t,$(supabase_tests),\
echo "Test: $(t)..." && psql -f $(t) ${DB_URL} $(__EXEC)) && \
psql -f supabase/tests/teardown.sql ${DB_URL}