Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update workflow #264

Merged
merged 1 commit into from
Sep 9, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 29 additions & 10 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,21 +16,41 @@ concurrency:
cancel-in-progress: true

jobs:
ci:
name: "Run CI"
validate:
name: "Validate Project"

uses: "mimmi20/mimmi20/.github/workflows/ci.yml@main"
uses: "mimmi20/ci/.github/workflows/validate.yml@master"
with:
extensions: "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

install:
name: "Install Project"

needs: "validate"

uses: "mimmi20/ci/.github/workflows/install.yml@master"
with:
extensions: "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"

needs: "install"

uses: "mimmi20/ci/.github/workflows/analytics.yml@master"
with:
extensions: "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-phplint: false
skip-rector: false
skip-phpmd: false
secrets:
envPAT: "${{ secrets.GITHUB_TOKEN }}"

check-composer:
name: "Check composer dependencies"
Expand All @@ -41,7 +61,7 @@ jobs:

continue-on-error: false

needs: "ci"
needs: "analytics"

strategy:
fail-fast: false
Expand Down Expand Up @@ -89,7 +109,7 @@ jobs:
tests:
name: "UnitTests with PHPUnit"

needs: "ci"
needs: "analytics"

runs-on: "${{ matrix.operating-system }}"

Expand Down Expand Up @@ -146,7 +166,7 @@ jobs:
code-coverage:
name: "Code Coverage with PHPUnit"

needs: "tests"
needs: "analytics"

runs-on: "${{ matrix.operating-system }}"

Expand Down Expand Up @@ -224,7 +244,6 @@ jobs:
if: always()

needs:
- "ci"
- "tests"
- "code-coverage"

Expand Down