Commit Graph

99 Commits

Author SHA1 Message Date
Damien Retzinger d80befbe9b fix(check-extension): mirror path repos to prevent symlink errors with template files (#218)
Composer installs path repositories as symlinks by default, which causes Magento's template engine to fail when resolving .phtml files. Setting `COMPOSER_MIRROR_PATH_REPOS=1` on all composer install steps forces a copy instead, matching how the package would be installed from Packagist in production.

Adds a .phtml template and an integration test to the demo package that
renders it via Magento's template engine. Without COMPOSER_MIRROR_PATH_REPOS=1
the path repo is installed as a symlink and the test fails; with mirroring
it passes.

Closes #217
2026-04-26 23:05:21 -04:00
Damien Retzinger d5c744e155 feat(coding-standard)!: remove pr-diff feature and built-in php setup (#224)
BREAKING CHANGE: Much of the "setup" that's built-into the command is removed in favor of a leaner action. This also includes the "on PR, only diff PR contents" behavior. This can be restored, but it shouldn't be the default and should be done as an input.

Fix SEVERITY_FLAGS construction which exited 1 under bash -e when
severity inputs were empty, causing CI failures.
2026-04-26 22:51:44 -04:00
Damien Retzinger de415eaff5 feat(install-test)!: remove install test (#222)
BREAKING CHANGE: You should rely on [Check Extension](https://github.com/graycoreio/github-actions-magento2/blob/main/.github/workflows/check-extension-README.md) instead.
2026-04-26 21:40:01 -04:00
Damien Retzinger 8f3c6eb927 refactor(cache-magento): remove unused mode cache arg (#220) 2026-04-26 21:31:21 -04:00
Damien Retzinger 98923b24c5 feat(unit-test)!: remove unit-test action (#221) 2026-04-26 21:31:07 -04:00
David Lambauer 7799f0f9bf fix(check-extension): probe vendor dir for MageOS/Magento standards when running phpcs (#216)
Closes #213
2026-04-23 18:41:45 -04:00
Damien Retzinger dc2f775d75 ci: use googleapis/release-please-action@v4 2026-02-18 14:47:03 -05:00
Damien Retzinger 5f3ba73bc6 feat: use actions/upload-artifact@v6 2026-02-18 14:45:55 -05:00
Damien Retzinger 86b01b17fa feat: use actions/cache@v5 2026-02-18 14:44:18 -05:00
Damien Retzinger c2c3755729 feat: use actions/checkout@v6 2026-02-18 14:43:05 -05:00
Damien Retzinger 5d47cda771 docs: note include_services in integration.yaml 2026-02-18 14:41:37 -05:00
Damien Retzinger 89912779a9 ci: restore accidentally removed id from integration test 2025-12-16 11:28:08 -05:00
Damien Retzinger 810a5705cf feat(check-extension): prefer phpcs conf if it exists 2025-12-15 16:33:09 -05:00
Damien Retzinger 389830f189 ci: retain extensions key in integration tests 2025-12-15 14:50:10 -05:00
Damien Retzinger 5fb9523081 feat(integration)!: use services from supported-version (#207) 2025-12-15 10:52:31 -05:00
Damien Retzinger 87b8b80feb feat(check-extension): add integration tests (#205) 2025-12-15 10:19:17 -05:00
Ryan Hoerr ab5dc9fc95 Fix opensearch versions based on container support (#289)
* Fix opensearch versions based on wardenenv container support

* opensearchproject/opensearch:2.19.1

* Disable opensearch security

* spawn separate opensearch service when needed

* fix opensearch flags; fix PackageMatrixVersion type and test

* Try mysql:8.4 over mariadb:11.4

* updated dist/index.js

* Allow trigger creation during integration tests
2025-12-14 17:47:56 -05:00
Damien Retzinger 886bbbb9ba feat(extension-check): support composer auth (#204) 2025-12-14 17:11:21 -05:00
Damien Retzinger da59af27fa feat(check-extension): add coding standard (#203) 2025-12-14 16:47:25 -05:00
Damien Retzinger 0c244f2f28 feat(check-extension): add setup:di:compile test (#202) 2025-12-14 15:58:40 -05:00
Damien Retzinger 1ab0330f1f feat(check-extension): add new check-extension workflow (#201) 2025-12-14 15:50:36 -05:00
Damien Retzinger 8a95e723df feat(unit-test)!: set default unit-test php version to 8.4 2025-12-14 12:08:02 -05:00
Damien Retzinger dfb8be2ee7 feat!(setup-magento): update default to use Magento v2.4.8-p3 2025-12-14 11:49:44 -05:00
Damien Retzinger 6179ca545b ci: upgrade underlying actions for testing setup-magento 2025-12-14 11:48:55 -05:00
Damien Retzinger 962e52d426 ci: upgrade underlying actions for testing setup-magento 2025-12-14 11:46:40 -05:00
Damien Retzinger 6c31728af2 feat: upgrade setup-magento action test to v2.4.8-p3 (#198) 2025-12-14 11:36:22 -05:00
Damien Retzinger 21c3bb3436 feat(supported-version): add v2.4.4-p13, v2.4.5-p12, v2.4.6-p10, v2.4.7-p5 and v2.4.8 (#187) 2025-04-09 13:15:07 -04:00
Damien Retzinger 0f072ba9a0 ci: easy repo switching (#192) 2025-04-09 10:30:27 -04:00
Damien Retzinger 157b6877e2 ci: only test supported versions (#189) 2025-04-09 09:46:56 -04:00
Damien Retzinger 8d21604ac9 ci: replace token with graycore token 2025-03-25 09:41:34 -04:00
Damien Retzinger 4c536e3d96 feat!: remove unmaintained workflows 2025-03-25 09:41:23 -04:00
mage-os-ci 670cfada18 Add Sansec eComscan workflow 2025-02-04 16:35:51 +00:00
dependabot[bot] 30a7867ee4 chore(deps): bump actions/cache from 3 to 4 (#234)
Bumps [actions/cache](https://github.com/actions/cache) from 3 to 4.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/cache/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-07 14:10:40 +00:00
dependabot[bot] 0db5983be9 chore(deps): bump google-github-actions/release-please-action (#202)
Bumps [google-github-actions/release-please-action](https://github.com/google-github-actions/release-please-action) from 3 to 4.
- [Release notes](https://github.com/google-github-actions/release-please-action/releases)
- [Changelog](https://github.com/google-github-actions/release-please-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/google-github-actions/release-please-action/compare/v3...v4)

---
updated-dependencies:
- dependency-name: google-github-actions/release-please-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-07 06:14:44 +00:00
mage-os-ci ede917ef8c Add Sansec eComscan workflow 2025-01-02 12:19:37 +00:00
dependabot[bot] 0fea5402ee chore(deps): bump actions/checkout from 3 to 4 (#194)
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-30 13:27:09 +00:00
dependabot[bot] d11e680d8f chore(deps): bump actions/upload-artifact from 3 to 4 (#209)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 3 to 4.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-30 13:25:30 +00:00
mage-os-ci 9af34de2df Add Sansec eComscan workflow 2024-12-30 10:06:21 +00:00
Vladyslav Podorozhnyi 52584b3dd2 Include some tests into standalone test suite after update from 2.4-develop upstream (magento) (#221) 2024-03-21 13:51:15 +01:00
Vladyslav Podorozhnyi c41d657f25 Allow ignoring integration tests (#220)
* Allow ignoring integration tests

* Update full-integration-tests.yaml
2024-03-19 14:56:49 +01:00
Ihor Sviziev 120b61c253 Integration tests workflow improvements (#218) 2024-01-25 16:41:49 +01:00
Vladyslav Podorozhnyi a6eb2a4f73 Integration tests workflow improvement (#217)
* Update full-integration-tests.yaml

* Add optional input on integration test directory.

* Add exclusion list - directories from exclusion list should be also splited on multiple batches

* Add exclusion list - directories from exclusion list should be also splited on multiple batches

* Add exclusion list - directories from exclusion list should be also splited on multiple batches

* Add exclusion list - directories from exclusion list should be also splited on multiple batches

* Add exclusion list - directories from exclusion list should be also splited on multiple batches

* Add exclusion list - directories from exclusion list should be also splited on multiple batches

* Add exclusion list - directories from exclusion list should be also splited on multiple batches

* Add exclusion list - directories from exclusion list should be also splited on multiple batches

* Update full-integration-tests.yaml
2024-01-24 10:11:43 +01:00
Ihor Sviziev 6728d6bc78 Use Warden instead of Den everywhere 2024-01-11 09:33:06 +02:00
Simon Sprankel be076091a2 Merge pull request #184 from adamzero1/nx-integration-tests
Nx Integration Tests Github Workflow
2023-11-28 14:58:55 +01:00
Adam 6632e42332 dev: using range for Nx version 2023-11-28 13:43:45 +00:00
Adam 28524a8dc7 dev: removing examples of other jobs 2023-11-27 16:26:35 +00:00
Adam 7af06fcecf dev: removing debug 2023-11-27 16:23:36 +00:00
Vladyslav Podorozhnyi 168696ef43 Add Full Integration Tests workflow (#185)
* Add Full Integration Tests workflow

* Add inputs for workflow_call
2023-11-14 19:04:49 +01:00
Adam 1fd928e0bb dev: work on nx integration github workflow 2023-11-11 14:47:43 +00:00
Damien Retzinger 88901eacf7 chore(deps, deps-dev): updates deps and add .nvmrc (#151) 2023-09-22 12:29:14 -04:00