-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (32 loc) · 858 Bytes
/
end-to-end-tests.yml
File metadata and controls
40 lines (32 loc) · 858 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: Testcontainers End-to-End Testing
on:
push:
branches:
- main
jobs:
end-to-end-tests:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up JDK
uses: actions/setup-java@v2
with:
distribution: 'temurin'
java-version: '17'
- name: Set up Maven
run: sudo apt-get install -y maven
- name: Build Lambdas
run: |
cd stack-bytes-lambda
mvn clean package shade:shade
- name: Set up Docker
run: |
sudo apt-get update
sudo apt-get install -y docker-compose
- name: Build and test with Maven
env:
LOCALSTACK_API_KEY: ${{ secrets.LOCALSTACK_API_KEY }}
run: |
cd github-actions-testcontainers
mvn clean test