Skip to content
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

feat: run setup:di:compile on push #116

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

Tjitse-E
Copy link
Contributor

@Tjitse-E Tjitse-E commented Sep 7, 2023

PR Checklist

Please check if your PR fulfills the following requirements:

PR Type

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Documentation content changes
  • Other... Please describe:

What is the new behavior?

Run php bin/magento setup:di:compile on pushes, only when files are pushed that can actually break compilation in Mage-OS (PHP, XML or composer changes).

Example fail.

Does this PR introduce a breaking change?

  • Yes
  • No

setup-di-compile/action.yml Show resolved Hide resolved
setup-di-compile/action.yml Show resolved Hide resolved
setup-di-compile/action.yml Outdated Show resolved Hide resolved
@damienwebdev
Copy link
Member

This also needs a workflow that tests the behavior against the stable branch of the MageOS repo.

setup-di-compile/README.md Show resolved Hide resolved
setup-di-compile/action.yml Outdated Show resolved Hide resolved
@@ -0,0 +1,60 @@
name: "Magento compilation (setup:di:compile)"
Copy link
Member

Choose a reason for hiding this comment

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

Copy link
Contributor

Choose a reason for hiding this comment

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

@damienwebdev @Tjitse-E the target of this link doesn't exist anymore, what should we do here?

@fballiano
Copy link
Contributor

@Tjitse-E @damienwebdev can we merge this also if we don't have the workflow inside this PR? The workflow is here: mage-os/mageos-magento2#33

@rhoerr @aleron75 what do you think about this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants