Skip to content

New GH Workflow #629

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

Merged
merged 19 commits into from
Aug 5, 2025
Merged

New GH Workflow #629

merged 19 commits into from
Aug 5, 2025

Conversation

Spomky
Copy link
Member

@Spomky Spomky commented Aug 5, 2025

Target branch: 4.1.x
Resolves issue #

  • It is a Bug fix
  • It is a New feature
  • It is related to dependencies

Includes:

  • Breaks BC
  • Deprecations

Spomky added 5 commits August 5, 2025 12:43
Deleted outdated config files (ecs.php, deptrac.yaml, rector.php, infection.json, etc.), old workflows, and replaced `autoload.php` with a centralized `bootstrap.php`. Introduced a streamlined CI workflow with `.github/workflows/ci.yml`.
Added detailed help descriptions to all Symfony Console commands, replacing older `setHelp()` calls. Removed obsolete test dependencies and configurations for better maintainability.
Updated the workflow condition for mutation testing jobs to trigger only on branches matching the `X.X.x` pattern. Removed redundant build workflows to streamline configuration.
Standardized command attributes formatting across multiple files for improved readability. Cleaned up unused imports in test classes and ensured consistent order. Simplified command execution parameter formatting in test cases.
…nheritance rules

Revised baseline to reflect updated checks on constructor parameter defaults, nullable declarations, and inheritance restrictions. Removed obsolete error messages for better alignment with current codebase.
@Spomky Spomky added this to the 4.1.0 milestone Aug 5, 2025
@Spomky Spomky self-assigned this Aug 5, 2025
@Spomky Spomky added Dependencies Pull requests that update a dependency file CI-CD labels Aug 5, 2025
Spomky added 14 commits August 5, 2025 12:54
Simplified the branch condition for mutation testing jobs by replacing `matches` with `endsWith`.
Removed the `docker_lint` job from the CI workflow for simplification. Adjusted dependency for `prepare_dependencies` job accordingly.
Standardized indentation and file-specific rules in `.editorconfig`. Adjusted export-ignore rules in `.gitattributes` to minimize unnecessary exclusions and improve maintainability. Updated namespace in `ComposerJsonTest.php`.
Updated the `EXPECTED` files list in the CI workflow to reflect the revised export requirements. Removed the unnecessary PHPStan ignore comment in `CallableChecker` as it's no longer relevant.
Enhanced the `tests` job to include a PHP version matrix (8.2-8.5) for broader compatibility testing. Updated Docker image reference to dynamically use the appropriate version. Added a pre-check step to verify the availability of Docker images and conditionally run PHPUnit based on the result. Disabled fail-fast for improved matrix execution.
Removed PHP 8.5 from the version matrix to align with supported versions. Simplified PHPUnit execution by removing the pre-check for Docker images and its related conditions.
Introduced `lowest-deps` testing for PHP 8.2 to ensure compatibility with minimum dependency versions. Adjusted cache key structure to include PHP version and dependency type for improved cache management. Simplified dependency installation logic in tests job.
…dynamically in Docker image

Added `PHP_VERSION` as an environment variable in the workflow matrix and updated `castor.php` to dynamically use this variable for Docker image references. Default PHP version fallback logic added.
Removed `actions/cache` steps for dependencies and PHPUnit results/coverage in the `tests` and `infection` jobs to simplify the workflow and reduce potential cache-related issues.
Removed `lowest-deps` testing for PHP 8.2 in the workflow matrix. Updated the `install` task in `castor.php` to support installing dependencies with the `--prefer-lowest` flag when required.
@Spomky Spomky merged commit 6c8e091 into 4.1.x Aug 5, 2025
15 checks passed
@Spomky Spomky deleted the ci-cd/new-workflow branch August 5, 2025 14:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI-CD Dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant