File tree Expand file tree Collapse file tree 1 file changed +7
-14
lines changed
Expand file tree Collapse file tree 1 file changed +7
-14
lines changed Original file line number Diff line number Diff line change @@ -2,36 +2,29 @@ name: CI
22
33on :
44 push :
5- branches :
6- - master
5+ branches : [ master ]
76 pull_request :
87
9- concurrency :
10- group : ci-${{ github.ref }}
11- cancel-in-progress : true
12-
138jobs :
149 build-and-test :
1510 runs-on : ubuntu-latest
1611
1712 steps :
18- - name : Checkout repository
19- uses : actions/checkout@v4
13+ - uses : actions/checkout@v4
2014
21- - name : Set up JDK 17 + Maven cache
22- uses : actions/setup-java@v4
15+ - uses : actions/setup-java@v4
2316 with :
24- distribution : temurin
2517 java-version : 17
18+ distribution : temurin
2619 cache : maven
2720
28- - name : Enable Docker (needed for Testcontainers)
21+ - name : Enable Docker for Testcontainers
2922 run : |
3023 sudo systemctl start docker
3124 docker info
3225
33- - name : Run unit + integration tests
34- run : mvn -B -ntp verify
26+ - name : Build and test project
27+ run : mvn -B -ntp clean verify
3528
3629 - name : Build Docker image
3730 run : docker build -t avito-test-app .
You can’t perform that action at this time.
0 commit comments