Skip to content

Commit 3443eb8

Browse files
committed
Update GitHub workflow
1 parent 54b6db3 commit 3443eb8

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

.github/workflows/workflows.yaml

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,16 @@
11
name: Tests
22

3-
on: [ push ]
3+
on:
4+
push:
5+
workflow_dispatch:
46

57
jobs:
68
tests:
79
runs-on: ubuntu-latest
810
strategy:
911
matrix:
10-
java: [ 8, 11 ]
12+
java:
13+
- 17
1114

1215
steps:
1316
- uses: actions/checkout@v2
@@ -21,6 +24,10 @@ jobs:
2124
path: ~/.m2
2225
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
2326
restore-keys: ${{ runner.os }}-m2
27+
- name: Setup Docker
28+
run: sudo apt-get -qq -y install conntrack socat ; nohup socat TCP-LISTEN:2375,reuseaddr,fork UNIX-CONNECT:/var/run/docker.sock &
29+
- name: Pull Image
30+
run: docker pull openanalytics/shinyproxy-integration-test-app
2431
- name: Build with Maven
2532
run: mvn -U clean install -DskipTests
2633
- name: Run Tests
@@ -31,6 +38,10 @@ jobs:
3138

3239
steps:
3340
- uses: actions/checkout@v2
41+
- name: Set up JDK
42+
uses: actions/setup-java@v1
43+
with:
44+
java-version: 17
3445
- name: Run Dependency Check
3546
run: mvn -Powasp-dependency-check verify -DskipTests
3647
- name: Archive code coverage results

0 commit comments

Comments
 (0)