community.grafana
community.grafana copied to clipboard
Integration tests with grafana image
SUMMARY
Currently the integration tests are running against python:3.6 image and grafana service containers. While there are unit tests to check things like grafana_plugin. It would be nice and way easier to also have integration tests which runs directly against the grafana containers. Imo it would not only be easier to write but also would be easier to check against things like #103 ?
ISSUE TYPE
- Feature Idea
COMPONENT NAME
Tests
+1 to that ! The unittests were a quick win At the time, integration tests would be better for the objective of the test realized for this module.
I yesterday tried to set up an additional job but I haven't done any github workflow other than clicking through it. First problem is, the default grafana image is non-root so a separate image is needed. Is there a way to build an image and use that for the rest of the flow? If someone can point me to the instructions for that I would implement it. Couldn't find something with quick googling yesterday.