generated from mimmi20/template
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
6 additions
and
60 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 |
---|---|---|
|
@@ -21,10 +21,11 @@ jobs: | |
|
||
uses: "mimmi20/ci/.github/workflows/validate.yml@master" | ||
with: | ||
extensions: "curl, iconv, mbstring, intl, dom, simplexml, tokenizer, xml, xmlwriter" | ||
extensions: "ctype, curl, iconv, mbstring, intl, dom, simplexml, tokenizer, xml, xmlwriter" | ||
ini-values: "opcache.enable=1, opcache.fast_shutdown=0, zend.assertions=1, assert.exception=On, intl.default_locale=de, intl.use_exceptions=1, zend.exception_ignore_args=0" | ||
composer-options: "--optimize-autoloader --prefer-dist --prefer-stable -v" | ||
skip-phplint: false | ||
skip-check-composer: false | ||
|
||
install: | ||
name: "Install Project" | ||
|
@@ -33,10 +34,9 @@ jobs: | |
|
||
uses: "mimmi20/ci/.github/workflows/install.yml@master" | ||
with: | ||
extensions: "curl, iconv, mbstring, intl, dom, simplexml, tokenizer, xml, xmlwriter" | ||
extensions: "ctype, curl, iconv, mbstring, intl, dom, simplexml, tokenizer, xml, xmlwriter" | ||
ini-values: "opcache.enable=1, opcache.fast_shutdown=0, zend.assertions=1, assert.exception=On, intl.default_locale=de, intl.use_exceptions=1, zend.exception_ignore_args=0" | ||
composer-options: "--optimize-autoloader --prefer-dist --prefer-stable -v" | ||
composer-outdated-option: "" | ||
|
||
analytics: | ||
name: "Project Analysis" | ||
|
@@ -45,67 +45,13 @@ jobs: | |
|
||
uses: "mimmi20/ci/.github/workflows/analytics.yml@master" | ||
with: | ||
extensions: "curl, iconv, mbstring, intl, dom, simplexml, tokenizer, xml, xmlwriter" | ||
extensions: "ctype, curl, iconv, mbstring, intl, dom, simplexml, tokenizer, xml, xmlwriter" | ||
ini-values: "opcache.enable=1, opcache.fast_shutdown=0, zend.assertions=1, assert.exception=On, intl.default_locale=de, intl.use_exceptions=1, zend.exception_ignore_args=0" | ||
composer-options: "--optimize-autoloader --prefer-dist --prefer-stable -v" | ||
skip-phpstan: false | ||
skip-rector: false | ||
skip-phpmd: false | ||
|
||
check-composer: | ||
name: "Check composer dependencies" | ||
|
||
runs-on: "${{ matrix.operating-system }}" | ||
|
||
timeout-minutes: 10 | ||
|
||
continue-on-error: false | ||
|
||
needs: "analytics" | ||
|
||
strategy: | ||
fail-fast: false | ||
|
||
matrix: | ||
operating-system: | ||
- "ubuntu-20.04" | ||
|
||
php-version: | ||
# Should use the lowest supported version | ||
- "8.1" | ||
|
||
steps: | ||
- name: "Checkout" | ||
uses: "actions/checkout@v4" | ||
with: | ||
# Disabling shallow clone is recommended for improving relevancy of reporting | ||
fetch-depth: 0 | ||
lfs: false | ||
persist-credentials: false | ||
|
||
- name: "Install PHP" | ||
uses: "shivammathur/[email protected]" | ||
with: | ||
php-version: "${{ matrix.php-version }}" | ||
extensions: "none, phar, json, opcache, curl, iconv, mbstring, ctype, dom, intl, simplexml, tokenizer, xml, xmlwriter" | ||
ini-values: "opcache.enable=1, opcache.fast_shutdown=0, zend.assertions=1, assert.exception=On, intl.default_locale=de, intl.use_exceptions=1, zend.exception_ignore_args=0" | ||
coverage: "none" | ||
tools: "composer:v2, composer-unused" | ||
env: | ||
fail-fast: true | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
phpts: "nts" | ||
debug: true | ||
|
||
- name: "Update dependencies with composer" | ||
uses: "ramsey/[email protected]" | ||
with: | ||
dependency-versions: "${{ matrix.dependencies }}" | ||
composer-options: "--optimize-autoloader --prefer-dist --prefer-stable -v" | ||
|
||
- name: "Check composer.json" | ||
run: "composer-unused unused --ansi --no-progress --no-interaction --output-format=github" | ||
|
||
tests: | ||
name: "UnitTests with PHPUnit" | ||
|
||
|
@@ -144,7 +90,7 @@ jobs: | |
uses: "shivammathur/[email protected]" | ||
with: | ||
php-version: "${{ matrix.php-version }}" | ||
extensions: "none, phar, json, opcache, curl, iconv, mbstring, dom, intl, simplexml, tokenizer, xml, xmlwriter" | ||
extensions: "none, phar, json, opcache, ctype, curl, iconv, mbstring, dom, intl, simplexml, tokenizer, xml, xmlwriter" | ||
ini-values: "opcache.enable=1, opcache.fast_shutdown=0, zend.assertions=1, assert.exception=On, intl.default_locale=de, intl.use_exceptions=1, zend.exception_ignore_args=0" | ||
coverage: "none" | ||
tools: "composer:v2" | ||
|
@@ -200,7 +146,7 @@ jobs: | |
uses: "shivammathur/[email protected]" | ||
with: | ||
php-version: "${{ matrix.php-version }}" | ||
extensions: "none, phar, json, opcache, curl, iconv, mbstring, dom, intl, simplexml, tokenizer, xml, xmlwriter" | ||
extensions: "none, phar, json, opcache, ctype, curl, iconv, mbstring, dom, intl, simplexml, tokenizer, xml, xmlwriter" | ||
ini-values: "opcache.enable=1, opcache.fast_shutdown=0, zend.assertions=1, assert.exception=On, intl.default_locale=de, intl.use_exceptions=1, zend.exception_ignore_args=0, xdebug.mode=coverage" | ||
coverage: "xdebug" | ||
tools: "composer:v2" | ||
|