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

[CI] Enable PyCafe dashboards in CI #816

Merged
merged 30 commits into from
Oct 24, 2024
Merged

[CI] Enable PyCafe dashboards in CI #816

merged 30 commits into from
Oct 24, 2024

Conversation

maxschulz-COL
Copy link
Contributor

Description

This PR enables the view of our examples folder dashboards in CI via PyCafe. There is two ways to view them:

  1. Click on the link in the comments just below the PR
  2. Click on the Details button in the Status checks
  • the dashboards are always built with the most recent wheel file of the most recent commit
  • I have ommitted the yaml examples, as they are duplicates really, but we could add them also

If in the future you would like to add/remove a dashboard, it should be as easy as adding the path in the github workflow file at the bottom. Should your example have requirements beyond just vizro (e.g. openpyxl) you would need to add them in the if clause in the create_pycafe_links.py script.

Screenshot

Notice

  • I acknowledge and agree that, by checking this box and clicking "Submit Pull Request":

    • I submit this contribution under the Apache 2.0 license and represent that I am entitled to do so on behalf of myself, my employer, or relevant third parties, as applicable.
    • I certify that (a) this contribution is my original creation and / or (b) to the extent it is not my original creation, I am authorized to submit this contribution on behalf of the original creator(s) or their licensees.
    • I certify that the use of this contribution as authorized by the Apache 2.0 license does not violate the intellectual property rights of anyone else.
    • I have not referenced individuals, products or companies in any commits, directly or indirectly.
    • I have not added data or restricted code in any commits, directly or indirectly.

Copy link
Contributor

github-actions bot commented Oct 17, 2024

View the example dashboards of the current commit live on PyCafe:

Updated on: 2024-10-23 11:20:35 UTC
Commit: 33150e6

Link: examples/scratch_dev/

Link: examples/dev/

Link: examples/visual-vocabulary/

@mckinsey mckinsey deleted a comment from github-actions bot Oct 17, 2024
@maxschulz-COL maxschulz-COL marked this pull request as ready for review October 17, 2024 16:06
@maxschulz-COL maxschulz-COL changed the title Ci/pycafe in ci [CI] Enable PyCafe dashboards in CI Oct 17, 2024
Copy link
Contributor

@nadijagraca nadijagraca left a comment

Choose a reason for hiding this comment

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

This is so cool. Great job. 🚀
Do we eventually what to do the same for Vizro-AI UI?

@l0uden
Copy link
Contributor

l0uden commented Oct 22, 2024

Left just a few comments, but overall looks amazing! 👍 🥇

@maxschulz-COL
Copy link
Contributor Author

This is so cool. Great job. 🚀 Do we eventually what to do the same for Vizro-AI UI?

Could be interesting, but currently I am still struggling a bit bringing that to PyCafe :)

Copy link
Contributor

@antonymilne antonymilne left a comment

Choose a reason for hiding this comment

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

Love it! ❤️ 🚀 This is awesome, thank you for all your work on this @maxschulz-COL and also @maartenbreddels.

Maarten: I left just a small comment for you here: #816 (comment)

Max: I left lots of small tidying suggestions. The most important one is to use Pathlib. The rest should be quick to implement or ignore if you think they're not worth doing.

.github/workflows/pycafe-dashboards-in-CI.yml Outdated Show resolved Hide resolved
.github/workflows/pycafe-dashboards-in-CI.yml Outdated Show resolved Hide resolved
.github/workflows/pycafe-dashboards-in-CI.yml Outdated Show resolved Hide resolved
.github/workflows/pycafe-dashboards-in-CI.yml Show resolved Hide resolved
.github/workflows/pycafe-dashboards-in-CI.yml Outdated Show resolved Hide resolved
tools/pycafe/create_pycafe_links.py Outdated Show resolved Hide resolved
tools/pycafe/create_pycafe_links.py Show resolved Hide resolved
tools/pycafe/create_pycafe_links.py Outdated Show resolved Hide resolved
tools/pycafe/create_pycafe_links.py Outdated Show resolved Hide resolved
tools/pycafe/create_pycafe_links.py Outdated Show resolved Hide resolved
Copy link
Contributor

github-actions bot commented Oct 23, 2024

View the example dashboards of the current commit live on PyCafe ☕ 🚀

Updated on: 2024-10-24 12:57:32 UTC
Commit: 4ef09be

Link: examples/dev/

Link: examples/scratch_dev

Link: examples/visual-vocabulary/

@maxschulz-COL maxschulz-COL merged commit 5b9ba81 into main Oct 24, 2024
35 checks passed
@maxschulz-COL maxschulz-COL deleted the ci/pycafe_in_ci branch October 24, 2024 13:05
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.

4 participants