Skip to content

chore: DRAFT - Add test to Previews and setup test workflow for plugins #241

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

Draft
wants to merge 28 commits into
base: main
Choose a base branch
from

Conversation

colinmurphy
Copy link
Member

@colinmurphy colinmurphy commented Jun 4, 2025

Description

Related Issue

Dependant PRs

Type of Change

  • ✅ Bug fix (non-breaking change which fixes an issue)
  • ✨ New feature (non-breaking change which adds functionality)
  • 💥 Breaking change (fix or feature that would cause existing functionality to change)
  • 🧹 Code refactoring (no functional changes)
  • 📄 Example update (no functional changes)
  • 📝 Documentation update
  • 🔍 Performance improvement
  • 🧪 Test update

How Has This Been Tested?

Screenshots

Checklist

  • I have read the CONTRIBUTING document
  • My code follows the project's coding standards
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation (if applicable)
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works (if applicable)
  • Any dependent changes have been highlighted, merged or published

Copy link

github-actions bot commented Jun 4, 2025

ℹ️ Download the hwp-previews plugin artifact from this workflow run (see the 'Artifacts' section at the bottom).

Copy link

github-actions bot commented Jun 4, 2025

ℹ️ Download the hwp-previews plugin artifact from this workflow run (see the 'Artifacts' section at the bottom).

Copy link

github-actions bot commented Jun 4, 2025

ℹ️ Download the hwp-previews plugin artifact from this workflow run (see the 'Artifacts' section at the bottom).

Copy link

github-actions bot commented Jun 4, 2025

ℹ️ Download the hwp-previews plugin artifact from this workflow run (see the 'Artifacts' section at the bottom).

Copy link

github-actions bot commented Jun 4, 2025

ℹ️ Download the hwp-previews plugin artifact from this workflow run (see the 'Artifacts' section at the bottom).

Copy link

github-actions bot commented Jun 4, 2025

ℹ️ Download the hwp-previews plugin artifact from this workflow run (see the 'Artifacts' section at the bottom).

Copy link

github-actions bot commented Jun 4, 2025

ℹ️ Download the hwp-previews plugin artifact from this workflow run (see the 'Artifacts' section at the bottom).

Copy link

github-actions bot commented Jun 4, 2025

ℹ️ Download the hwp-previews plugin artifact from this workflow run (see the 'Artifacts' section at the bottom).

Copy link

github-actions bot commented Jun 4, 2025

ℹ️ Download the hwp-previews plugin artifact from this workflow run (see the 'Artifacts' section at the bottom).

Copy link

github-actions bot commented Jun 4, 2025

ℹ️ Download the hwp-previews plugin artifact from this workflow run (see the 'Artifacts' section at the bottom).

Copy link

github-actions bot commented Jun 4, 2025

ℹ️ Download the hwp-previews plugin artifact from this workflow run (see the 'Artifacts' section at the bottom).

Copy link

github-actions bot commented Jun 4, 2025

ℹ️ Download the hwp-previews plugin artifact from this workflow run (see the 'Artifacts' section at the bottom).

Copy link

github-actions bot commented Jun 4, 2025

ℹ️ Download the hwp-previews plugin artifact from this workflow run (see the 'Artifacts' section at the bottom).

Copy link

github-actions bot commented Jun 4, 2025

ℹ️ Download the hwp-previews plugin artifact from this workflow run (see the 'Artifacts' section at the bottom).

Copy link

github-actions bot commented Jun 4, 2025

ℹ️ Download the hwp-previews plugin artifact from this workflow run (see the 'Artifacts' section at the bottom).

Copy link

github-actions bot commented Jun 4, 2025

ℹ️ Download the hwp-previews plugin artifact from this workflow run (see the 'Artifacts' section at the bottom).

Copy link

github-actions bot commented Jun 4, 2025

ℹ️ Download the hwp-previews plugin artifact from this workflow run (see the 'Artifacts' section at the bottom).

Copy link

github-actions bot commented Jun 4, 2025

ℹ️ Download the hwp-previews plugin artifact from this workflow run (see the 'Artifacts' section at the bottom).

Copy link

github-actions bot commented Jun 4, 2025

ℹ️ Download the hwp-previews plugin artifact from this workflow run (see the 'Artifacts' section at the bottom).

@moonmeister
Copy link
Member

I think it may be time for some caching optimizations. You can check out how I do this with Node on the Faust repo. Basically, I install & set up Node, install dependencies, then the disk is cached under a unique hash based on the state of package-lock.json. All other checks then depend on that setup and only have to restore the cache to have Node and its dependencies. This saves about 45 seconds on each downstream task. Rerunning things is optimized cause code might change, but as long as it's the same set of dependencies, then that initial task doesn't have to rerun, but only restore from cache.

Looks like at least composer install, if not some wider PHP config, could be configured to only happen once, and then have PHPCS, tests, and artifact creation all do cache restores.

@colinmurphy
Copy link
Member Author

Thanks @moonmeister ❤️

Thanks for the great feedback. I will have a look tomorrow at how you setup caching on Faust and look at making some optimizations.

Copy link

github-actions bot commented Jun 6, 2025

ℹ️ Download the hwp-previews plugin artifact from this workflow run (see the 'Artifacts' section at the bottom).

Copy link

github-actions bot commented Jun 6, 2025

ℹ️ Download the hwp-previews plugin artifact from this workflow run (see the 'Artifacts' section at the bottom).

Copy link

github-actions bot commented Jun 6, 2025

ℹ️ Download the hwp-previews plugin artifact from this workflow run (see the 'Artifacts' section at the bottom).

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.

2 participants