Skip to content

Commit cbbcfcd

Browse files
committed
Fix Llama3 Java IT configuration
1 parent 6420a5b commit cbbcfcd

File tree

3 files changed

+13
-8
lines changed

3 files changed

+13
-8
lines changed

.github/workflows/build-pull-request.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -124,19 +124,15 @@ jobs:
124124
run: |
125125
./mvnw -B clean install -DskipTests -Dno-format -ntp -f model-providers/jlama/pom.xml
126126
127-
- name: Run tests of ${{ matrix.module }} with JDK ${{ matrix.java }}
128-
run: |
129-
cd ${{ matrix.module }} && ../mvnw -B verify -Dci=true -Dno-format -ntp
130-
131127
# Build Llama3.java if JDK >= 22. See https://x.com/tjake/status/1849141171475399083?t=EpgVJCPLC17fCXio0FvnhA&s=19 for the reason
132128
- name: Build Llama3-java extension
133129
if: ${{ matrix.java >= 22 }}
134130
run: |
135-
./mvnw -B clean install -DskipTests -Dno-format -ntp -f model-providers/llama3-java/pom.xml
131+
./mvnw -B clean install -DskipTests -Dno-format -ntp -f model-providers/llama3-java/pom.xml
136132
137133
- name: Run tests of ${{ matrix.module }} with JDK ${{ matrix.java }}
138134
run: |
139-
cd ${{ matrix.module }} && ../mvnw -B verify -Dci=true -Dno-format -ntp
135+
cd ${{ matrix.module }} && ../mvnw -B verify -Dci=true -Dno-format -ntp
140136
141137
142138
native-tests:

integration-tests/llama3-java/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
<artifactId>quarkus-langchain4j-integration-tests-parent</artifactId>
77
<version>999-SNAPSHOT</version>
88
</parent>
9-
<artifactId>quarkus-langchain4j-integration-test-jlama</artifactId>
10-
<name>Quarkus LangChain4j - Integration Tests - Jlama</name>
9+
<artifactId>quarkus-langchain4j-integration-test-llama3-java</artifactId>
10+
<name>Quarkus LangChain4j - Integration Tests - Llama3 Java</name>
1111
<properties>
1212
<skipITs>true</skipITs>
1313
<maven.compiler.release>21</maven.compiler.release>

integration-tests/pom.xml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,5 +38,14 @@
3838
<module>jlama</module>
3939
</modules>
4040
</profile>
41+
<profile>
42+
<id>jdk22-plus</id>
43+
<activation>
44+
<jdk>[22,)</jdk>
45+
</activation>
46+
<modules>
47+
<module>llama3-java</module>
48+
</modules>
49+
</profile>
4150
</profiles>
4251
</project>

0 commit comments

Comments
 (0)