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: quick fix on benchmark CI using uv run pytest #6651

Closed
wants to merge 2 commits into from

Conversation

unkcpz
Copy link
Member

@unkcpz unkcpz commented Dec 5, 2024

The benchmark CI only triggered when push to main and it is failed after #6640.
I mimic the change in 32f9229 for the fix, hope I did it right.

I also make the CI can be triggered for pull request when either benchmark config files changed.

@unkcpz unkcpz requested a review from danielhollas December 5, 2024 18:09
Copy link

codecov bot commented Dec 5, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 77.93%. Comparing base (ef60b66) to head (9f4e019).
Report is 155 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #6651      +/-   ##
==========================================
+ Coverage   77.51%   77.93%   +0.43%     
==========================================
  Files         560      563       +3     
  Lines       41444    41662     +218     
==========================================
+ Hits        32120    32464     +344     
+ Misses       9324     9198     -126     

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


- name: Run benchmarks
run: pytest --db-backend psql --benchmark-only --benchmark-json benchmark.json tests/
run: uv run pytest --db-backend psql --benchmark-only --benchmark-json benchmark.json tests/

- name: Store benchmark result
uses: aiidateam/github-action-benchmark@v3
Copy link
Collaborator

Choose a reason for hiding this comment

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

@unkcpz can you open this PR from origin? It looks like the store step is failing, likely due to permission issue.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Thanks for the fix btw! Definitely forgot a few spots.

@unkcpz
Copy link
Member Author

unkcpz commented Dec 5, 2024

reopen not from fork, see #6652

@unkcpz unkcpz closed this Dec 5, 2024
@unkcpz unkcpz deleted the quick-fix-benchmark-ci-fail branch December 5, 2024 22:11
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.

2 participants