grafana / plugin-tools

Create Grafana plugins with ease.
https://grafana.com/developers/plugin-tools/
Apache License 2.0
55 stars 27 forks source link

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

Closed sunker closed 3 months ago

sunker commented 3 months ago

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
:sparkles: Test out this PR locally via: ```bash 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 ```
github-actions[bot] commented 3 months ago

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.

grafana-plugins-platform-bot[bot] commented 3 months ago

:rocket: PR was released in @grafana/create-plugin@4.7.0 :rocket: