Skip to content

Commit 0fee2c1

Browse files
committed
ci fix
1 parent 639a912 commit 0fee2c1

File tree

1 file changed

+7
-14
lines changed

1 file changed

+7
-14
lines changed

.github/workflows/ci.yaml

Lines changed: 7 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2,36 +2,29 @@ name: CI
22

33
on:
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-
138
jobs:
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 .

0 commit comments

Comments
 (0)