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

Centralize GitHub action for running playwright tests #6

Open
mickmister opened this issue May 4, 2024 · 1 comment
Open

Centralize GitHub action for running playwright tests #6

mickmister opened this issue May 4, 2024 · 1 comment

Comments

@mickmister
Copy link
Collaborator

We should probably have a reusable action to run playwright tests, probably defined here https://github.com/mattermost/actions/tree/main/plugin-ci

@mickmister
Copy link
Collaborator Author

For allowing plugin projects that use these workflows to inject environment variables, I think we can have a PLUGIN_CI_ENV workflow input, that then gets injected into the workflow via an environment variable of the same name. That way plugin projects can provide arbitrary environment variables to its own scripts when running the playwright test. No sensitive env vars will be used here.

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

No branches or pull requests

1 participant