Skip to content

Commit

Permalink
Merge pull request #264 from mimmi20/updates
Browse files Browse the repository at this point in the history
update workflow
  • Loading branch information
mimmi20 authored Sep 9, 2023
2 parents 295ae46 + 395c66a commit bef2b89
Showing 1 changed file with 29 additions and 10 deletions.
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

0 comments on commit bef2b89

Please sign in to comment.