Skip to content

Commit 698fb27

Browse files
committed
ci: disable query compiler tests in ci
1 parent 463b849 commit 698fb27

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

.github/workflows/maven.yml

+2
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,6 @@ jobs:
2929
- name: Cleanup existing or cached artefacts.
3030
run: mvn -B clean --file glint/pom.xml
3131
- name: Build & Run Tests with Maven
32+
env:
33+
DISABLE_COMPILER_TESTS: "yes"
3234
run: mvn -B package --file glint/pom.xml

glint/src/test/java/co/clflushopt/glint/query/compiler/QueryCompilerTest.java

+6
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
import java.nio.file.Path;
66
import java.util.Collections;
77

8+
import org.junit.Assume;
89
import org.junit.Test;
910

1011
import co.clflushopt.glint.datasource.ParquetDataSource;
@@ -13,6 +14,9 @@
1314
public class QueryCompilerTest {
1415
@Test
1516
public void canCompileInlinedParquetScan() throws Exception {
17+
Assume.assumeTrue("Skipping test due to missing data",
18+
System.getenv("DISABLE_COMPILER_TESTS") != null);
19+
1620
Path path = Path.of("../datasets/yellow_tripdata_2019-01.parquet");
1721
String filename = path.toAbsolutePath().toString();
1822
QueryCompiler c = new QueryCompiler();
@@ -22,6 +26,8 @@ public void canCompileInlinedParquetScan() throws Exception {
2226

2327
@Test
2428
public void canCompileScanPlan() throws Exception {
29+
Assume.assumeTrue("Skipping test due to missing data",
30+
System.getenv("DISABLE_COMPILER_TESTS") != null);
2531
try {
2632
Path path = Path.of("../datasets/yellow_tripdata_2019-01.parquet");
2733
String filename = path.toAbsolutePath().toString();

0 commit comments

Comments
 (0)