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

[demo] Automate doctr demo update via CI job #1742

Merged
merged 2 commits into from
Oct 8, 2024

Conversation

felixdittrich92
Copy link
Contributor

@felixdittrich92 felixdittrich92 commented Oct 7, 2024

This PR:

  • Add required files to auto update the hf demo via CI
  • Add corresponding CI job - allow also manual action trigger for testing or manual refresh

Any feedback is welcome 🤗

@odulcy-mindee HF_TOKEN needs to be added as secret :)

To much overhead with the cron job ? 😅

@felixdittrich92 felixdittrich92 added type: enhancement Improvement topic: ci Related to CI ext: demo Related to demo folder labels Oct 7, 2024
@felixdittrich92 felixdittrich92 added this to the 0.9.1 milestone Oct 7, 2024
@felixdittrich92 felixdittrich92 self-assigned this Oct 7, 2024
@felixdittrich92 felixdittrich92 linked an issue Oct 7, 2024 that may be closed by this pull request
Copy link

codecov bot commented Oct 7, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.46%. Comparing base (90c3fff) to head (0d79189).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1742      +/-   ##
==========================================
+ Coverage   96.44%   96.46%   +0.02%     
==========================================
  Files         164      164              
  Lines        7869     7869              
==========================================
+ Hits         7589     7591       +2     
+ Misses        280      278       -2     
Flag Coverage Δ
unittests 96.46% <ø> (+0.02%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Collaborator

@odulcy-mindee odulcy-mindee left a comment

Choose a reason for hiding this comment

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

I added the token. Hopefully, it should have enough rights to update the space. Thank you for automating that.

@felixdittrich92
Copy link
Contributor Author

I added the token. Hopefully, it should have enough rights to update the space. Thank you for automating that.

Let's see that it works as expected i did the same for OnnxTR so hopefuly fine (felixdittrich92/OnnxTR@497ae2d)

@felixdittrich92 felixdittrich92 merged commit 59f1c30 into mindee:main Oct 8, 2024
82 checks passed
@felixdittrich92 felixdittrich92 deleted the demo-auto-update branch October 8, 2024 12:45
@felixdittrich92 felixdittrich92 modified the milestones: 0.9.1, 0.10.0 Oct 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ext: demo Related to demo folder topic: ci Related to CI type: enhancement Improvement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Keep HF Space up-to-date with GitHub action
2 participants