Skip to content

Commit

Permalink
tp: Run SQL checks on CI
Browse files Browse the repository at this point in the history
Change-Id: I46e138d91c33e17dc73dc8bfd266fb6bdcf4bbd9
  • Loading branch information
aMayzner committed Aug 25, 2023
1 parent 10b9801 commit 1218812
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/trace_processor/metrics/sql/android/anr/anrs.sql
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

-- One row per ANR that occurred in the trace.
DROP TABLE IF EXISTS android_anr_anrs;
CREATE TABLE android_anr_anrs AS
CREATE PERFETTO TABLE android_anr_anrs AS
-- Process and PID that ANRed.
WITH anr_process AS (
SELECT
Expand Down
4 changes: 4 additions & 0 deletions test/ci/common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,7 @@ fi
tools/gn gen out/tmp.protoc --args="is_debug=false cc_wrapper=\"ccache\""
tools/gen_all --check-only out/tmp.protoc
rm -rf out/tmp.protoc

# Performs checks on SQL files.
tools/check_sql_modules.py
tools/check_sql_metrics.py

0 comments on commit 1218812

Please sign in to comment.