File tree Expand file tree Collapse file tree 1 file changed +8
-13
lines changed
Expand file tree Collapse file tree 1 file changed +8
-13
lines changed Original file line number Diff line number Diff line change @@ -18,26 +18,21 @@ jobs:
1818 - name : Checkout repository
1919 uses : actions/checkout@v4
2020
21- - name : Set up Docker Buildx
22- uses : docker/setup-buildx-action@v3
23-
24- - name : Set up JDK 17
21+ - name : Set up JDK 17 + Maven cache
2522 uses : actions/setup-java@v4
2623 with :
2724 distribution : temurin
2825 java-version : 17
2926 cache : maven
3027
31- - name : Make Maven wrapper executable
32- run : chmod +x mvnw
28+ - name : Enable Docker (needed for Testcontainers)
29+ run : |
30+ sudo systemctl start docker
31+ docker info
3332
34- - name : Validate Docker availability
35- run : docker info
33+ - name : Run unit + integration tests
34+ run : mvn -B -ntp verify
3635
37- - name : Build application image
36+ - name : Build Docker image
3837 run : docker build -t avito-test-app .
3938
40- - name : Run unit and integration tests
41- env :
42- MAVEN_OPTS : " -Dmaven.repo.local=${{ github.workspace }}/.m2/repository"
43- run : ./mvnw -B -ntp verify
You can’t perform that action at this time.
0 commit comments