File tree 3 files changed +10
-7
lines changed
java/eu/openanalytics/shinyproxy/test/api 3 files changed +10
-7
lines changed Original file line number Diff line number Diff line change 1
1
name : Tests
2
2
3
- on : [ push ]
3
+ on :
4
+ push :
5
+ workflow_dispatch :
4
6
5
7
jobs :
6
8
tests :
7
9
runs-on : ubuntu-latest
8
10
strategy :
9
11
matrix :
10
- java : [ 8, 11 ]
12
+ java :
13
+ - 17
11
14
12
15
steps :
13
16
- uses : actions/checkout@v2
31
34
32
35
steps :
33
36
- uses : actions/checkout@v2
37
+ - name : Set up JDK
38
+ uses : actions/setup-java@v1
39
+ with :
40
+ java-version : 17
34
41
- name : Run Dependency Check
35
42
run : mvn -Powasp-dependency-check verify -DskipTests
36
43
- name : Archive code coverage results
Original file line number Diff line number Diff line change @@ -193,7 +193,7 @@ public void testProxy() {
193
193
resp = apiTestHelper .callWithAuth (apiTestHelper .createRequest ("/app_proxy/" + id + "/" ).addHeader ("Accept" , "text/html" ));
194
194
resp .assertHtmlSuccess ();
195
195
Assertions .assertTrue (resp .body ().contains ("Welcome to nginx!" ));
196
- Assertions .assertTrue (resp .body ().endsWith ("<script src='/5e89c377af39026486b5a487ad46f0b55d6031aa /js/shiny.iframe.js'></script>" ));
196
+ Assertions .assertTrue (resp .body ().endsWith ("<script src='/dc8ccb537b895e1d7d3713e4de9e76058cdee04b /js/shiny.iframe.js'></script>" ));
197
197
198
198
// normal sub-path request
199
199
resp = apiTestHelper .callWithAuth (apiTestHelper .createRequest ("/app_proxy/" + id + "/my-path" ));
Original file line number Diff line number Diff line change @@ -26,10 +26,6 @@ proxy:
26
26
- name : demo2
27
27
password : demo2
28
28
29
- docker :
30
- url : http://localhost:2375
31
-
32
-
33
29
specs :
34
30
- id : nobody
35
31
container-image : openanalytics/shinyproxy-integration-test-app:latest
You can’t perform that action at this time.
0 commit comments