Skip to content

Commit a6931b0

Browse files
committed
(java): Add an Action to test the Java lambda
1 parent a1aa217 commit a6931b0

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

.github/workflows/test-java.yaml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Test Java Lambda
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
9+
jobs:
10+
test:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v4
14+
- name: Set up JDK 17
15+
uses: actions/setup-java@v4
16+
with:
17+
java-version: "21"
18+
distribution: "microsoft"
19+
cache: maven
20+
- name: Build and test with Maven
21+
run: AWS_REGION=eu-west-2 mvn test

0 commit comments

Comments
 (0)