File tree 6 files changed +31
-38
lines changed
6 files changed +31
-38
lines changed Original file line number Diff line number Diff line change 17
17
- docker.io/arangodb/enterprise:3.11.6
18
18
topology :
19
19
- single
20
- java-version :
21
- - 17
22
20
module :
23
21
- driver
24
22
- integration-tests
@@ -27,10 +25,11 @@ jobs:
27
25
- uses : actions/checkout@v2
28
26
- uses : graalvm/setup-graalvm@v1
29
27
with :
30
- version : ' latest'
31
- java-version : ${{matrix.java-version}}
28
+ java-version : ' 21.0.1'
29
+ distribution : ' graalvm'
30
+ cache : ' maven'
31
+ native-image-job-reports : ' true'
32
32
github-token : ${{ secrets.GITHUB_TOKEN }}
33
- components : ' native-image,js'
34
33
- name : Start Database
35
34
run : ./docker/start_db.sh
36
35
env :
56
55
- docker.io/arangodb/enterprise:3.11.6
57
56
topology :
58
57
- single
59
- java-version :
60
- - 17
61
58
module :
62
59
- driver
63
60
- integration-tests
@@ -66,10 +63,11 @@ jobs:
66
63
- uses : actions/checkout@v2
67
64
- uses : graalvm/setup-graalvm@v1
68
65
with :
69
- version : ' latest'
70
- java-version : ${{matrix.java-version}}
66
+ java-version : ' 21.0.1'
67
+ distribution : ' graalvm'
68
+ cache : ' maven'
69
+ native-image-job-reports : ' true'
71
70
github-token : ${{ secrets.GITHUB_TOKEN }}
72
- components : ' native-image,js'
73
71
- name : Start Database
74
72
run : ./docker/start_db.sh
75
73
env :
Original file line number Diff line number Diff line change @@ -106,10 +106,10 @@ jobs:
106
106
- uses : actions/checkout@v2
107
107
- uses : graalvm/setup-graalvm@v1
108
108
with :
109
- version : ' latest'
110
- java-version : ' 17'
109
+ java-version : ' 21.0.1'
110
+ distribution : ' graalvm'
111
+ cache : ' maven'
111
112
github-token : ${{ secrets.GITHUB_TOKEN }}
112
- components : ' js'
113
113
- name : Info
114
114
run : mvn -version
115
115
- name : Test
Original file line number Diff line number Diff line change 22
22
</properties >
23
23
24
24
<profiles >
25
- <profile >
26
- <id >no-graalvm</id >
27
- <activation >
28
- <jdk >1.8</jdk >
29
- </activation >
30
- <build >
31
- <plugins >
32
- <plugin >
33
- <groupId >org.apache.maven.plugins</groupId >
34
- <artifactId >maven-compiler-plugin</artifactId >
35
- <version >3.11.0</version >
36
- <configuration >
37
- <testExcludes >
38
- <exclude >graalvm/UnicodeUtilsTest.java</exclude >
39
- </testExcludes >
40
- </configuration >
41
- </plugin >
42
- </plugins >
43
- </build >
44
- </profile >
45
25
<profile >
46
26
<id >static-code-analysis</id >
47
27
<build >
189
169
<version >${graalvm.version} </version >
190
170
<scope >test</scope >
191
171
</dependency >
172
+ <dependency >
173
+ <groupId >org.graalvm.js</groupId >
174
+ <artifactId >js-language</artifactId >
175
+ <version >${graalvm.version} </version >
176
+ <scope >test</scope >
177
+ </dependency >
178
+ <dependency >
179
+ <groupId >org.graalvm.polyglot</groupId >
180
+ <artifactId >polyglot</artifactId >
181
+ <version >${graalvm.version} </version >
182
+ <scope >test</scope >
183
+ </dependency >
184
+ <dependency >
185
+ <groupId >org.graalvm.polyglot</groupId >
186
+ <artifactId >js</artifactId >
187
+ <version >${graalvm.version} </version >
188
+ <type >pom</type >
189
+ <scope >test</scope >
190
+ </dependency >
192
191
<dependency >
193
192
<groupId >io.smallrye.config</groupId >
194
193
<artifactId >smallrye-config-core</artifactId >
Original file line number Diff line number Diff line change 15
15
import java .net .URL ;
16
16
import java .util .Arrays ;
17
17
import java .util .Collection ;
18
- import java .util .HashSet ;
19
18
import java .util .List ;
20
19
import java .util .stream .Stream ;
21
20
Original file line number Diff line number Diff line change 4
4
import com .arangodb .util .TestUtils ;
5
5
import com .arangodb .util .UnicodeUtils ;
6
6
import org .graalvm .home .Version ;
7
- import org .graalvm .nativeimage .ImageInfo ;
8
7
import org .graalvm .polyglot .Context ;
9
8
import org .graalvm .polyglot .Value ;
10
9
import org .junit .jupiter .api .AfterAll ;
11
10
import org .junit .jupiter .api .BeforeAll ;
12
11
import org .junit .jupiter .api .Test ;
13
12
14
13
import static org .assertj .core .api .Assertions .assertThat ;
15
- import static org .junit .jupiter .api .Assumptions .assumeFalse ;
16
14
import static org .junit .jupiter .api .Assumptions .assumeTrue ;
17
15
18
16
@@ -26,7 +24,6 @@ class UnicodeUtilsTest {
26
24
27
25
@ BeforeAll
28
26
static void beforeClass () {
29
- assumeFalse (ImageInfo .inImageCode (), "skipped in native mode" );
30
27
assumeTrue (Version .getCurrent ().isRelease (), "This test requires GraalVM" );
31
28
context = Context .create ();
32
29
jsEncoder = context .eval ("js" , encodeFn );
Original file line number Diff line number Diff line change 49
49
<dependency >
50
50
<groupId >org.graalvm.sdk</groupId >
51
51
<artifactId >graal-sdk</artifactId >
52
- <version >22.3.3 </version >
52
+ <version >${graalvm.version} </version >
53
53
<scope >provided</scope >
54
54
</dependency >
55
55
</dependencies >
You can’t perform that action at this time.
0 commit comments