File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change 8989 with :
9090 crate : cargo-llvm-cov
9191 version : " 0.6.10"
92+ 93+ uses : baptiste0928/cargo-install@v3
94+ with :
95+ crate : cargo-insta
96+ version : " 1.42.0"
9297 - name : Unit tests (Rewrite Engine)
9398 env :
9499 CUBESQL_TESTING_CUBE_TOKEN : ${{ secrets.CUBESQL_TESTING_CUBE_TOKEN }}
@@ -100,6 +105,17 @@ jobs:
100105 run : |
101106 cd rust/cubesql
102107 cargo llvm-cov --all-features --workspace --lcov --output-path lcov.info
108+ - name : Check unreferenced insta snapshots in tests (Rewrite Engine)
109+ env :
110+ CUBESQL_TESTING_CUBE_TOKEN : ${{ secrets.CUBESQL_TESTING_CUBE_TOKEN }}
111+ CUBESQL_TESTING_CUBE_URL : ${{ secrets.CUBESQL_TESTING_CUBE_URL }}
112+ CUBESQL_SQL_PUSH_DOWN : true
113+ CUBESQL_TOP_DOWN_EXTRACTOR : ${{ matrix.top-down-extractor }}
114+ CUBESQL_REWRITE_CACHE : true
115+ CUBESQL_REWRITE_TIMEOUT : 60
116+ run : |
117+ cd rust/cubesql
118+ cargo insta test --all-features --workspace --unreferenced reject
103119 - name : Upload code coverage
104120 uses : codecov/codecov-action@v4
105121 with :
You can’t perform that action at this time.
0 commit comments