Skip to content

Commit 496105a

Browse files
committed
Run feature and integration tests in parallel for hadoop GHA CTR
1 parent a79e67b commit 496105a

File tree

1 file changed

+20
-12
lines changed

1 file changed

+20
-12
lines changed

.github/workflows/build-test.yml

Lines changed: 20 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -125,30 +125,38 @@ jobs:
125125
# name: ${{ github.sha }}
126126
# path: ./gremlin-server/gremlin-server.tar
127127
# retention-days: 1
128-
hadoop:
129-
name: hadoop
128+
hadoop-standard:
129+
name: hadoop standard
130130
timeout-minutes: 45
131131
needs: smoke
132-
runs-on: ${{ matrix.os }}
133-
strategy:
134-
matrix:
135-
os: [ubuntu-latest, windows-latest]
132+
runs-on: ubuntu-latest
136133
steps:
137134
- uses: actions/checkout@v6
138135
- name: Set up JDK 11
139136
uses: actions/setup-java@v5
140137
with:
141138
java-version: '11'
142139
distribution: 'temurin'
143-
- name: Build with Maven Windows
144-
if: runner.os == 'Windows'
140+
- name: Build with Maven
145141
run: |
146-
mvn clean install -pl -:gremlin-javascript,-:gremlin-python,-gremlin-dotnet,-:gremlin-dotnet-source,-:gremlin-dotnet-tests,-:gremlint -q -DskipTests -DskipImageBuild -Dci
147-
- name: Build with Maven Ubuntu
148-
if: runner.os == 'Linux'
142+
mvn clean install -pl -:gremlin-javascript,-:gremlin-python,-gremlin-dotnet,-:gremlin-dotnet-source,-:gremlin-dotnet-tests,-:gremlint -q -DskipTests -Dci
143+
mvn verify -pl :hadoop-gremlin -DskipTests -DskipIntegrationTests=false '-Dit.test=HadoopGraphProcessStandardIntegrateTest'
144+
hadoop-feature:
145+
name: hadoop feature
146+
timeout-minutes: 45
147+
needs: smoke
148+
runs-on: ubuntu-latest
149+
steps:
150+
- uses: actions/checkout@v6
151+
- name: Set up JDK 11
152+
uses: actions/setup-java@v5
153+
with:
154+
java-version: '11'
155+
distribution: 'temurin'
156+
- name: Build with Maven
149157
run: |
150158
mvn clean install -pl -:gremlin-javascript,-:gremlin-python,-gremlin-dotnet,-:gremlin-dotnet-source,-:gremlin-dotnet-tests,-:gremlint -q -DskipTests -Dci
151-
mvn verify -pl :hadoop-gremlin -DskipTests -DskipIntegrationTests=false
159+
mvn verify -pl :hadoop-gremlin -DskipTests -DskipIntegrationTests=false '-Dit.test=HadoopGraphFeatureIntegrateTest'
152160
spark-core:
153161
name: spark core
154162
timeout-minutes: 45

0 commit comments

Comments
 (0)