Skip to content

Commit

Permalink
[BUGFIX] Fix parallel lint in GitLab CI (#1456)
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaszuznanski authored Sep 17, 2024
1 parent ac8c124 commit 902097b
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitlab/pipeline/.gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ stages:
- test

include:
- '/.gitlab/pipeline/jobs/.composer-update.yml'
- '/.gitlab/pipeline/jobs/.default.yml'
- '/.gitlab/pipeline/jobs/.default-frontend.yml'
- '/.gitlab/pipeline/jobs/.variables.yml'
Expand Down
3 changes: 3 additions & 0 deletions .gitlab/pipeline/jobs/.composer-update.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.composer-update:
before_script:
- composer update --no-progress
1 change: 1 addition & 0 deletions .gitlab/pipeline/jobs/php-lint-php7.4.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
php-lint-php7.4:
extends: .composer-update
image: ghcr.io/sbuerk/demo-core-testing-php74:latest
stage: lint
needs: [ ]
Expand Down
1 change: 1 addition & 0 deletions .gitlab/pipeline/jobs/php-lint-php8.0.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
php-lint-php8.0:
extends: .composer-update
image: ghcr.io/sbuerk/demo-core-testing-php80:latest
stage: lint
needs: [ ]
Expand Down
1 change: 1 addition & 0 deletions .gitlab/pipeline/jobs/php-lint-php8.1.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
php-lint-php8.1:
extends: .composer-update
image: ghcr.io/sbuerk/demo-core-testing-php81:latest
stage: lint
needs: [ ]
Expand Down
1 change: 1 addition & 0 deletions .gitlab/pipeline/jobs/php-lint-php8.2.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
php-lint-php8.2:
extends: .composer-update
image: ghcr.io/sbuerk/demo-core-testing-php82:latest
stage: lint
needs: [ ]
Expand Down
1 change: 1 addition & 0 deletions .gitlab/pipeline/jobs/php-lint-php8.3.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
php-lint-php8.3:
extends: .composer-update
image: ghcr.io/sbuerk/demo-core-testing-php83:latest
stage: lint
needs: [ ]
Expand Down

0 comments on commit 902097b

Please sign in to comment.