Skip to content

Commit 7a40a75

Browse files
authored
Add jlink integration test (#122)
* add jlink integration test * end file with proper newline [skip ci] * cleanup dependency definition [skip ci] * debug outputs * invoker-plugin: install before testing
1 parent 0e22986 commit 7a40a75

File tree

42 files changed

+259
-38
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+259
-38
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
mvn -B install -DskipTests
5050
cd $GITHUB_WORKSPACE
5151
- name: Run Maven
52-
run: mvn -B install site -Pintegration-tests,code-analysis,bundles
52+
run: mvn -B install site -Pintegration-tests,code-analysis,bundles,jlink
5353
platform-integration:
5454
name: "Platform Integration (JDK: ${{ matrix.jdk }}, OS: ${{ matrix.os }})"
5555
needs: [ tests-and-analysis ]
@@ -86,7 +86,7 @@ jobs:
8686
mvn -B install -DskipTests
8787
cd $GITHUB_WORKSPACE
8888
- name: Run Maven
89-
run: mvn -B install
89+
run: mvn -B install -Pjlink
9090
coverage:
9191
name: "Coverage"
9292
needs: [ platform-integration ]

algorithms/active/aaar/src/main/java/module-info.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,9 @@
3434
requires net.automatalib.api;
3535
requires net.automatalib.common.util;
3636
requires net.automatalib.core;
37-
requires org.checkerframework.checker.qual;
37+
38+
// make non-static once https://github.com/typetools/checker-framework/issues/4559 is implemented
39+
requires static org.checkerframework.checker.qual;
3840

3941
exports de.learnlib.algorithm.aaar;
4042
exports de.learnlib.algorithm.aaar.abstraction;

algorithms/active/adt/src/main/java/module-info.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,11 @@
3838
requires net.automatalib.common.util;
3939
requires net.automatalib.core;
4040
requires net.automatalib.util;
41-
requires org.checkerframework.checker.qual;
4241
requires org.slf4j;
4342

4443
requires static de.learnlib.tooling.annotation;
44+
// make non-static once https://github.com/typetools/checker-framework/issues/4559 is implemented
45+
requires static org.checkerframework.checker.qual;
4546

4647
exports de.learnlib.algorithm.adt.ads;
4748
exports de.learnlib.algorithm.adt.adt;

algorithms/active/dhc/src/main/java/module-info.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,10 @@
3535
requires net.automatalib.api;
3636
requires net.automatalib.common.util;
3737
requires net.automatalib.core;
38-
requires org.checkerframework.checker.qual;
3938

4039
requires static de.learnlib.tooling.annotation;
40+
// make non-static once https://github.com/typetools/checker-framework/issues/4559 is implemented
41+
requires static org.checkerframework.checker.qual;
4142

4243
exports de.learnlib.algorithm.dhc.mealy;
4344
}

algorithms/active/kearns-vazirani/src/main/java/module-info.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,11 @@
3636
requires net.automatalib.api;
3737
requires net.automatalib.common.util;
3838
requires net.automatalib.core;
39-
requires org.checkerframework.checker.qual;
4039
requires org.slf4j;
4140

4241
requires static de.learnlib.tooling.annotation;
42+
// make non-static once https://github.com/typetools/checker-framework/issues/4559 is implemented
43+
requires static org.checkerframework.checker.qual;
4344

4445
exports de.learnlib.algorithm.kv;
4546
exports de.learnlib.algorithm.kv.dfa;

algorithms/active/lstar/src/main/java/module-info.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,11 @@
4040
requires net.automatalib.api;
4141
requires net.automatalib.common.util;
4242
requires net.automatalib.core;
43-
requires org.checkerframework.checker.qual;
4443
requires org.slf4j;
4544

4645
requires static de.learnlib.tooling.annotation;
46+
// make non-static once https://github.com/typetools/checker-framework/issues/4559 is implemented
47+
requires static org.checkerframework.checker.qual;
4748

4849
exports de.learnlib.algorithm.lstar;
4950
exports de.learnlib.algorithm.lstar.ce;

algorithms/active/nlstar/src/main/java/module-info.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,10 @@
3535
requires net.automatalib.api;
3636
requires net.automatalib.core;
3737
requires net.automatalib.util;
38-
requires org.checkerframework.checker.qual;
3938

4039
requires static de.learnlib.tooling.annotation;
40+
// make non-static once https://github.com/typetools/checker-framework/issues/4559 is implemented
41+
requires static org.checkerframework.checker.qual;
4142

4243
exports de.learnlib.algorithm.nlstar;
4344
}

algorithms/active/observation-pack-vpa/src/main/java/module-info.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,10 @@
3838
requires net.automatalib.common.smartcollection;
3939
requires net.automatalib.common.util;
4040
requires net.automatalib.core;
41-
requires org.checkerframework.checker.qual;
4241

4342
requires static de.learnlib.tooling.annotation;
43+
// make non-static once https://github.com/typetools/checker-framework/issues/4559 is implemented
44+
requires static org.checkerframework.checker.qual;
4445

4546
exports de.learnlib.algorithm.observationpack.vpa;
4647
exports de.learnlib.algorithm.observationpack.vpa.hypothesis;

algorithms/active/observation-pack/src/main/java/module-info.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,10 @@
3535
requires de.learnlib.datastructure.discriminationtree;
3636
requires net.automatalib.api;
3737
requires net.automatalib.common.util;
38-
requires org.checkerframework.checker.qual;
3938

4039
requires static de.learnlib.tooling.annotation;
40+
// make non-static once https://github.com/typetools/checker-framework/issues/4559 is implemented
41+
requires static org.checkerframework.checker.qual;
4142

4243
exports de.learnlib.algorithm.observationpack;
4344
exports de.learnlib.algorithm.observationpack.dfa;

algorithms/active/oml/src/main/java/module-info.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,9 @@
3434
requires net.automatalib.api;
3535
requires net.automatalib.common.util;
3636
requires net.automatalib.core;
37-
requires org.checkerframework.checker.qual;
37+
38+
// make non-static once https://github.com/typetools/checker-framework/issues/4559 is implemented
39+
requires static org.checkerframework.checker.qual;
3840

3941
exports de.learnlib.algorithm.oml.lstar;
4042
exports de.learnlib.algorithm.oml.ttt;

0 commit comments

Comments
 (0)