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 8585 with :
8686 crate : cargo-llvm-cov
8787 version : " 0.6.10"
88+ 89+ uses : baptiste0928/cargo-install@v3
90+ with :
91+ crate : cargo-insta
92+ version : " 1.42.0"
8893 - name : Unit tests (Rewrite Engine)
8994 env :
9095 CUBESQL_TESTING_CUBE_TOKEN : ${{ secrets.CUBESQL_TESTING_CUBE_TOKEN }}
@@ -95,6 +100,17 @@ jobs:
95100 run : |
96101 cd rust/cubesql
97102 cargo llvm-cov --all-features --workspace --lcov --output-path lcov.info
103+ - name : Check unreferenced insta snapshots in tests (Rewrite Engine)
104+ env :
105+ CUBESQL_TESTING_CUBE_TOKEN : ${{ secrets.CUBESQL_TESTING_CUBE_TOKEN }}
106+ CUBESQL_TESTING_CUBE_URL : ${{ secrets.CUBESQL_TESTING_CUBE_URL }}
107+ CUBESQL_SQL_PUSH_DOWN : true
108+ CUBESQL_TOP_DOWN_EXTRACTOR : ${{ matrix.top-down-extractor }}
109+ CUBESQL_REWRITE_CACHE : true
110+ CUBESQL_REWRITE_TIMEOUT : 60
111+ run : |
112+ cd rust/cubesql
113+ cargo insta test --all-features --workspace --unreferenced reject
98114 - name : Upload code coverage
99115 uses : codecov/codecov-action@v5
100116 with :
You can’t perform that action at this time.
0 commit comments