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

Save LFS Objects always() #2284

Merged
merged 8 commits into from
Apr 27, 2023

Conversation

atharva-2001
Copy link
Member

@atharva-2001 atharva-2001 commented Apr 26, 2023

📝 Description

🚦 testing| 🎢 infrastructure

Add a step which saves LFS cache even if the workflow fails.

📌 Resources

Uses a fake ternary operator:
https://github.com/orgs/community/discussions/26738#discussioncomment-3253176
Save: https://github.com/actions/cache/tree/main/save
Restore: https://github.com/actions/cache/tree/main/restore

Please merge #2280 before.

🚦 Testing

How did you test these changes?

  • Testing pipeline
  • Other method (describe)
  • My changes can't be tested (explain why)

Workflow to save cache:
https://github.com/atharva-2001/tardis/actions/runs/4805192448/jobs/8551369172

Workflow to restore cache:
https://github.com/atharva-2001/tardis/actions/runs/4805192448/jobs/8551369172

☑️ Checklist

  • I requested two reviewers for this pull request
  • I updated the documentation according to my changes
  • I built the documentation by applying the build_docs label

Note: If you are not allowed to perform any of these actions, ping (@) a contributor.

Copy link
Contributor

@andrewfullard andrewfullard left a comment

Choose a reason for hiding this comment

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

Something weird is happening with the tests here

@codecov
Copy link

codecov bot commented Apr 27, 2023

Codecov Report

Merging #2284 (e3d87d1) into master (effacfb) will decrease coverage by 0.03%.
The diff coverage is 60.60%.

❗ Current head e3d87d1 differs from pull request most recent head 25a9314. Consider uploading reports for the commit 25a9314 to get more accurate results

@@            Coverage Diff             @@
##           master    #2284      +/-   ##
==========================================
- Coverage   71.84%   71.81%   -0.03%     
==========================================
  Files         133      135       +2     
  Lines       12398    12431      +33     
==========================================
+ Hits         8907     8927      +20     
- Misses       3491     3504      +13     
Impacted Files Coverage Δ
.../montecarlo/montecarlo_numba/nonhomologous_grid.py 48.00% <48.00%> (ø)
tardis/montecarlo/tests/test_nonhomologous.py 100.00% <100.00%> (ø)

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@andrewfullard andrewfullard merged commit a0374e7 into tardis-sn:master Apr 27, 2023
light2802 pushed a commit to light2802/tardis that referenced this pull request May 27, 2023
* set repository owner

* has to be in quotes

* Leave spaces before and after ==

* Save cache intentionally

* Temporarily allow running on my fork

* Add comments, try removing quotation marks in false keyword

* Disable tests on forks again [skip ci]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants