Merge pull request #701 from mimmi20/dependabot/composer/master/minor… #2553
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
# https://help.github.com/en/categories/automating-your-workflow-with-github-actions | |
# file-version: 1.0 | |
name: "Continuous Integration" | |
on: | |
- pull_request | |
- push | |
permissions: | |
contents: read | |
concurrency: | |
group: "${{ github.event_name }}-${{ github.workflow }}-${{ github.head_ref || github.run_id }}-${{ github.ref }}" | |
cancel-in-progress: true | |
jobs: | |
validate: | |
name: "Validate Project" | |
uses: "mimmi20/ci/.github/workflows/[email protected]" | |
with: | |
extensions: "ctype, curl, dom, iconv, intl, mbstring, 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-validate-composer: false | |
skip-phplint: true | |
skip-check-composer: true | |
dependency-analyser-options: "--ignore-dev-in-prod-deps --ignore-unknown-classes" | |
install: | |
name: "Install Project" | |
needs: "validate" | |
uses: "mimmi20/ci/.github/workflows/[email protected]" | |
with: | |
extensions: "ctype, curl, dom, iconv, intl, mbstring, 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-php-install: false | |
skip-npm-install: true | |
# analytics: | |
# name: "Project Analysis" | |
# | |
# needs: "install" | |
# | |
# uses: "mimmi20/ci/.github/workflows/[email protected]" | |
# with: | |
# extensions: "ctype, curl, dom, iconv, intl, mbstring, 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: true | |
# skip-rector: true | |
# skip-phpmd: true | |
# | |
# tests: | |
# name: "UnitTests & Code Coverage" | |
# | |
# needs: "analytics" | |
# | |
# uses: "mimmi20/ci/.github/workflows/[email protected]" | |
# with: | |
# extensions: "ctype, curl, dom, iconv, intl, mbstring, 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-phpunit: false | |
# skip-vitest: true | |
# skip-stryker: true | |
# min-msi: 100 | |
# min-covered-msi: 100 | |
# upload-codecov: true | |
# upload-codeclimate: false |