Skip to content

Commit bdf82fb

Browse files
committed
Add tests module workflow
1 parent 27c86c0 commit bdf82fb

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
# This workflow will be triggered if there will be changes to aws-lambda-java-tests
2+
# package and it builds the package and the packages that depend on it.
3+
4+
name: Java CI aws-lambda-java-tests
5+
6+
on:
7+
push:
8+
branches: [ master ]
9+
paths:
10+
- 'aws-lambda-java-tests/**'
11+
pull_request:
12+
branches: [ '*' ]
13+
paths:
14+
- 'aws-lambda-java-tests/**'
15+
16+
jobs:
17+
build:
18+
19+
runs-on: ubuntu-latest
20+
21+
steps:
22+
- uses: actions/checkout@v2
23+
- name: Set up JDK 1.8
24+
uses: actions/setup-java@v1
25+
with:
26+
java-version: 1.8
27+
28+
# Install base module
29+
- name: Install events with Maven
30+
run: mvn -B install --file aws-lambda-java-events/pom.xml
31+
- name: Install serialization with Maven
32+
run: mvn -B install --file aws-lambda-java-serialization/pom.xml
33+
34+
# Package target module
35+
- name: Package tests with Maven
36+
run: mvn -B package --file aws-lambda-java-tests/pom.xml
37+

0 commit comments

Comments
 (0)