Skip to content

Commit 6db59cb

Browse files
committed
Update workflow
1 parent cdfa08a commit 6db59cb

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

.github/workflows/build.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Maven Run for Production Environment
1+
name: CI
22

33
on:
44
push:
@@ -20,12 +20,17 @@ jobs:
2020
with:
2121
distribution: "adopt"
2222
java-version: "8"
23-
- name: Start Docker containers
23+
- name: Pull Docker containers
2424
run: |
2525
set -e
26-
mvn -q -DskipTests test
2726
nohup docker pull localstack/localstack-light > /dev/null &
2827
nohup docker pull lambci/lambda:java8 > /dev/null &
28+
nohup docker pull localstack/localstack > /dev/null &
29+
- name: Compile Tests
30+
run: |
31+
set -e
32+
make compile
33+
MVN_TEST_ARGS="-q -DskipTests" make test
2934
- name: Thundra Maven Test Instrumentation Action
3035
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
3136
uses: thundra-io/thundra-maven-test-action@v1

0 commit comments

Comments
 (0)