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

Improve Acceptance Tests workflow #94

Closed
wants to merge 3 commits into from
Closed

Improve Acceptance Tests workflow #94

wants to merge 3 commits into from

Conversation

szepeviktor
Copy link
Contributor

@szepeviktor szepeviktor commented Mar 15, 2023

The temptation!

  1. Use ramsey/composer-install action
  2. Remove debugging
  3. Comes with 2 years support 🎉

image

@szepeviktor szepeviktor marked this pull request as draft March 15, 2023 20:57
@szepeviktor szepeviktor marked this pull request as ready for review March 15, 2023 21:01
fi
env:
WP_CORE_CONSTRAINT: ${{ matrix.wp == 'nightly' && 'dev-main' || format('~{0}.0', matrix.wp) }}
uses: ramsey/composer-install@v2
Copy link
Owner

Choose a reason for hiding this comment

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

Why do I need to use a third party action for this?

Copy link
Contributor Author

@szepeviktor szepeviktor Mar 15, 2023

Choose a reason for hiding this comment

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

As this action does caching, composer install or composer update, handles timeout, output and more.
Please see it running.
Viktor uses it in dozens of projects.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

You must know Ben!

Copy link
Contributor Author

@szepeviktor szepeviktor Mar 15, 2023

Choose a reason for hiding this comment

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

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@johnbillion Would you merge something based on plugin-infrastructure?

Copy link
Owner

Choose a reason for hiding this comment

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

Not just yet, thanks Viktor. I'm making my way through a list of to-do items as I find the the time and based on the similar but not identical testing setup that I have across my plugins.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'd like to promote Ben's action.

@johnbillion
Copy link
Owner

Closing this off now #110 is in. Thanks Viktor!

@szepeviktor
Copy link
Contributor Author

Glad to contribute to John-projects.

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