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

Create Plugin: Run e2e tests against multiple Grafana versions in CI workflow #870

Merged
merged 2 commits into from
Apr 18, 2024

Conversation

sunker
Copy link
Contributor

@sunker sunker commented Apr 11, 2024

What this PR does / why we need it:

This PR changes the CI workflow so that it uses the e2e-versions Action to run e2e tests against all versions that the plugin is supposed to be compatible with.

In the following example, test run failed in grafana 10.4.1. The test report and the grafana server log are uploaded as artifacts.

Screenshot 2024-04-11 at 09 53 41
Screenshot 2024-04-11 at 09 53 58

Tested in this PR.

Which issue(s) this PR fixes:

The release workflow currently doesn't run e2e tests at all. I guess we should change that at some point too.

Fixes #

Special notes for your reviewer:

📦 Published PR as canary version: Canary Versions

✨ Test out this PR locally via:

npm install @grafana/create-plugin@4.7.0-canary.870.6afd6d2.0
# or 
yarn add @grafana/create-plugin@4.7.0-canary.870.6afd6d2.0

Copy link

github-actions bot commented Apr 11, 2024

Hello! 👋 This repository uses Auto for releasing packages using PR labels.

✨ This PR can be merged and will trigger a new minor release.
NOTE: When merging a PR with the release label please avoid merging another PR. For further information see here.

@sunker sunker added minor Increment the minor version when merged release Create a release when this pr is merged labels Apr 11, 2024
@sunker sunker requested review from jackw and tolzhabayev April 11, 2024 08:07
@sunker sunker marked this pull request as ready for review April 11, 2024 08:07
@sunker sunker requested a review from a team as a code owner April 11, 2024 08:07
@sunker sunker requested a review from academo April 17, 2024 07:33
@sunker sunker requested a review from academo April 17, 2024 14:20
@sunker sunker merged commit f19a7dc into main Apr 18, 2024
17 of 19 checks passed
@sunker sunker deleted the create-plugin/ci-e2e-versions branch April 18, 2024 11:07
@grafana-plugins-platform-bot
Copy link

🚀 PR was released in @grafana/create-plugin@4.7.0 🚀

@grafana-plugins-platform-bot grafana-plugins-platform-bot bot added the released This issue/pull request has been released. label Apr 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
minor Increment the minor version when merged release Create a release when this pr is merged released This issue/pull request has been released.
Projects
Development

Successfully merging this pull request may close these issues.

2 participants