Move PHPStan ignore from config file to inline annotation #512
This file contains hidden or 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
| name: "build" | |
| on: | |
| push: ~ | |
| pull_request: ~ | |
| workflow_dispatch: ~ | |
| jobs: | |
| coding-standards: | |
| runs-on: "ubuntu-latest" | |
| steps: | |
| - uses: "setono/sylius-plugin/coding-standards@v2" | |
| dependency-analysis: | |
| runs-on: "ubuntu-latest" | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| php-version: ["8.2", "8.3", "8.4"] | |
| dependencies: ["lowest", "highest"] | |
| symfony: ["~6.4.0", "~7.4.0"] | |
| steps: | |
| - uses: "setono/sylius-plugin/dependency-analysis@v2" | |
| with: | |
| php-version: "${{ matrix.php-version }}" | |
| dependencies: "${{ matrix.dependencies }}" | |
| symfony: "${{ matrix.symfony }}" | |
| static-code-analysis: | |
| runs-on: "ubuntu-latest" | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| php-version: ["8.2", "8.3", "8.4"] | |
| dependencies: ["lowest", "highest"] | |
| symfony: ["~6.4.0", "~7.4.0"] | |
| steps: | |
| - uses: "setono/sylius-plugin/static-code-analysis@v2" | |
| with: | |
| php-version: "${{ matrix.php-version }}" | |
| dependencies: "${{ matrix.dependencies }}" | |
| symfony: "${{ matrix.symfony }}" | |
| unit-tests: | |
| runs-on: "ubuntu-latest" | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| php-version: ["8.2", "8.3", "8.4"] | |
| dependencies: ["lowest", "highest"] | |
| symfony: ["~6.4.0", "~7.4.0"] | |
| steps: | |
| - uses: "setono/sylius-plugin/unit-tests@v2" | |
| with: | |
| php-version: "${{ matrix.php-version }}" | |
| dependencies: "${{ matrix.dependencies }}" | |
| symfony: "${{ matrix.symfony }}" | |
| integration-tests: | |
| runs-on: "ubuntu-latest" | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| php-version: ["8.2", "8.3", "8.4"] | |
| dependencies: ["highest"] | |
| symfony: ["~6.4.0", "~7.4.0"] | |
| steps: | |
| - uses: "setono/sylius-plugin/integration-tests@v2" | |
| with: | |
| php-version: "${{ matrix.php-version }}" | |
| dependencies: "${{ matrix.dependencies }}" | |
| symfony: "${{ matrix.symfony }}" | |
| mutation-tests: | |
| runs-on: "ubuntu-latest" | |
| steps: | |
| - uses: "setono/sylius-plugin/mutation-tests@v2" | |
| with: | |
| stryker-dashboard-api-key: "${{ secrets.STRYKER_DASHBOARD_API_KEY }}" | |
| code-coverage: | |
| runs-on: "ubuntu-latest" | |
| steps: | |
| - uses: "setono/sylius-plugin/code-coverage@v2" | |
| with: | |
| codecov-token: "${{ secrets.CODECOV_TOKEN }}" |