Skip to content

Commit afe026d

Browse files
authored
Merge pull request #1037 from quarkiverse/jlama-llama3java-ci
Update Llama3 and Jlama ITs in CI
2 parents 6420a5b + 9969c6c commit afe026d

File tree

6 files changed

+15
-20
lines changed

6 files changed

+15
-20
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/jlama/pom.xml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -134,17 +134,5 @@
134134
<quarkus.package.type>native</quarkus.package.type>
135135
</properties>
136136
</profile>
137-
<profile>
138-
<id>release</id>
139-
<activation>
140-
<property>
141-
<name>prepareRelease</name>
142-
</property>
143-
</activation>
144-
<properties>
145-
<!-- when a release is performed, we don't want to spend time downloading the models -->
146-
<quarkus.langchain4j.jlama.include-models-in-artifact>false</quarkus.langchain4j.jlama.include-models-in-artifact>
147-
</properties>
148-
</profile>
149137
</profiles>
150138
</project>
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
quarkus.langchain4j.jlama.include-models-in-artifact=false

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>
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
quarkus.langchain4j.llama3.include-models-in-artifact=false

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)