-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update circleci config * Update phpunit and phpcs * Add conflict for older php_codesniffer * Set min drupal/coder * Update version of dbal * Update min php version
- Loading branch information
Showing
8 changed files
with
1,534 additions
and
314 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
version: 2.1 | ||
|
||
executors: | ||
php74: | ||
docker: | ||
- image: skpr/php-cli:7.4-1.x | ||
php80: | ||
docker: | ||
- image: skpr/php-cli:8.0-1.x | ||
|
||
workflows: | ||
build: | ||
jobs: | ||
- build: | ||
matrix: | ||
parameters: | ||
php: ["php74", "php80"] | ||
composer-opts: ["", "--prefer-lowest"] | ||
|
||
jobs: | ||
build: | ||
parameters: | ||
php: | ||
type: executor | ||
composer-opts: | ||
type: string | ||
executor: << parameters.php >> | ||
working_directory: /data | ||
steps: | ||
- checkout | ||
- run: composer2 update --prefer-dist --no-progress --no-suggest --no-interaction --optimize-autoloader << parameters.composer-opts >> | ||
- run: ./bin/phpcs --colors --report=full --runtime-set testVersion 8.0- | ||
- run: mkdir -p build/phpunit | ||
- run: ./bin/phpunit --log-junit build/phpunit/results.xml | ||
- store_test_results: | ||
path: build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
/bin/ | ||
/vendor/ | ||
*.sqlite | ||
.phpunit.result.cache |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.