Skip to content

Commit b103b0b

Browse files
add test jms and s3
1 parent fea331d commit b103b0b

File tree

2 files changed

+35
-2
lines changed

2 files changed

+35
-2
lines changed

.github/workflows/ci-actions.yml

Lines changed: 34 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,40 @@ jobs:
8787
shell: bash
8888
run: tar -xzvf maven-repo.tgz -C ~
8989
- name: Build with Maven
90-
run: mvn test
90+
run: mvn test -P '!services'
91+
- name: Prepare failure archive (if maven failed)
92+
if: failure()
93+
shell: bash
94+
run: find . -name '*-reports' -type d | tar -czvf test-reports.tgz -T -
95+
- name: Upload failure Archive (if maven failed)
96+
uses: actions/upload-artifact@v1
97+
if: failure()
98+
with:
99+
name: test-reports-linux-jvm11
100+
path: 'test-reports.tgz'
101+
102+
linux-jvm-tests-ee:
103+
name: JDK 11 JVM Tests EE
104+
timeout-minutes: 120
105+
needs: build-jdk11
106+
runs-on: ubuntu-latest
107+
steps:
108+
- uses: actions/checkout@v2
109+
- name: Set up JDK ${{ matrix.java-version }}
110+
# Uses sha for added security since tags can be updated
111+
uses: joschi/setup-jdk@b9cc6eabf7e7e3889766b5cee486f874c9e1bd2d
112+
with:
113+
java-version: 11
114+
- name: Download Maven Repo
115+
uses: actions/download-artifact@v1
116+
with:
117+
name: maven-repo
118+
path: .
119+
- name: Extract Maven Repo
120+
shell: bash
121+
run: tar -xzvf maven-repo.tgz -C ~
122+
- name: Build with Maven
123+
run: mvn test -P services -Dopenubl.storage.type=s3 -Dopenubl.event-manager=jms
91124
- name: Prepare failure archive (if maven failed)
92125
if: failure()
93126
shell: bash

api/src/main/resources/application.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ openubl.storage.s3.bucket=project-openubl
2929
openubl.storage.s3.access_key_id=BQA2GEXO711FVBVXDWKM
3030
openubl.storage.s3.secret_access_key=uvgz3LCwWM3e400cDkQIH/y1Y4xgU4iV91CwFSPC
3131
openubl.storage.s3.region=us-east-1
32-
openubl.storage.s3.host=http://localhost:9000
32+
openubl.storage.s3.host=http://localhost:900
3333

3434
# Event management
3535
openubl.event-manager=basic

0 commit comments

Comments
 (0)