Skip to content

Conversation

Kocal
Copy link
Member

@Kocal Kocal commented Sep 20, 2025

Q A
Bug fix? no
New feature? no
Deprecations? no
Documentation? no
Issues Fix #...
License MIT

Following the minor changes from #3086

@Kocal Kocal self-assigned this Sep 20, 2025
@carsonbot carsonbot added the Status: Needs Review Needs to be reviewed label Sep 20, 2025
@carsonbot carsonbot changed the title Refactor "test_package.sh" to its original purpose, add multiples checks for packages definition Refactor "test_package.sh" to its original purpose, add multiples checks for packages definition Sep 20, 2025
@Kocal Kocal force-pushed the refactor-pkg-assets-testing branch 5 times, most recently from 1ce429a to d153745 Compare September 20, 2025 11:35
@Kocal Kocal requested a review from Copilot September 20, 2025 11:48
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR refactors the test scripts to separate unit testing from browser testing by introducing a dedicated unit_test_package.sh script and replacing browser test commands with direct Playwright invocations. Additionally, it adds validation checks for package definitions in composer.json and package.json files.

  • Updated test commands across all package.json files to use dedicated unit test script
  • Replaced browser test commands with direct Playwright invocations
  • Added comprehensive package validation workflow with multiple checks for composer.json and package.json files

Reviewed Changes

Copilot reviewed 22 out of 23 changed files in this pull request and generated 2 comments.

File Description
Multiple assets/package.json files Updated test:unit commands to use unit_test_package.sh and replaced browser test commands with direct playwright test invocations
src/Toolkit/composer.json Added keywords, removed conflict section, and added minimum-stability requirement
src/Swup/composer.json Added php version requirement
.github/workflows/code-quality.yaml Added comprehensive package validation workflow with multiple checks for consistency

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@Kocal Kocal force-pushed the refactor-pkg-assets-testing branch 2 times, most recently from 10cf25c to 393bf25 Compare September 20, 2025 11:49
@Kocal Kocal force-pushed the refactor-pkg-assets-testing branch from 393bf25 to 4949e62 Compare September 20, 2025 11:50
@Kocal Kocal merged commit 0e3a3ff into symfony:2.x Sep 20, 2025
36 of 38 checks passed
@Kocal Kocal deleted the refactor-pkg-assets-testing branch September 20, 2025 11:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Needs Review Needs to be reviewed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants