Skip to content

Commit

Permalink
Update GitHub workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
LEDfan committed May 7, 2024
1 parent 54b6db3 commit 3443eb8
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions .github/workflows/workflows.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,16 @@
name: Tests

on: [ push ]
on:
push:
workflow_dispatch:

jobs:
tests:
runs-on: ubuntu-latest
strategy:
matrix:
java: [ 8, 11 ]
java:
- 17

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

steps:
- uses: actions/checkout@v2
- name: Set up JDK
uses: actions/setup-java@v1
with:
java-version: 17
- name: Run Dependency Check
run: mvn -Powasp-dependency-check verify -DskipTests
- name: Archive code coverage results
Expand Down

0 comments on commit 3443eb8

Please sign in to comment.