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

[Build] Rust dependency for tests #768

Merged
merged 17 commits into from
Apr 22, 2024
Merged

Conversation

riedgar-ms
Copy link
Collaborator

@riedgar-ms riedgar-ms commented Apr 19, 2024

We need the Rust toolchain installed now. Take the opportunity to expand the context window on some tests, with the goal of making them fractionally more reliable.

We need the Rust toolchain installed now?
@riedgar-ms riedgar-ms changed the title [Build] Rust dependency for CI tests [Build] Rust dependency for tests Apr 19, 2024
@codecov-commenter
Copy link

codecov-commenter commented Apr 19, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 69.02%. Comparing base (947792a) to head (7d18cc7).

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #768      +/-   ##
==========================================
+ Coverage   62.49%   69.02%   +6.53%     
==========================================
  Files          55       55              
  Lines        4058     4058              
==========================================
+ Hits         2536     2801     +265     
+ Misses       1522     1257     -265     

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

@riedgar-ms
Copy link
Collaborator Author

This was prompted by this CI failure

This is to parallel your change to the GPU workflow @paulbkoch

@@ -23,6 +23,12 @@ jobs:

steps:
- uses: actions/checkout@v4
- name: Install Rust
uses: actions-rs/toolchain@v1
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@paulbkoch according to:
https://github.com/actions-rs
this is no longer maintained?

Copy link
Collaborator Author

@riedgar-ms riedgar-ms Apr 19, 2024

Choose a reason for hiding this comment

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

@riedgar-ms
Copy link
Collaborator Author

Took a few goes, but this finally went through CI:
https://github.com/guidance-ai/guidance/actions/runs/8765018844

- name: Install Rust
shell: bash
run: |
curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain 1.75.0
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This was Michal's suggestion

@riedgar-ms riedgar-ms merged commit 8cf29c2 into main Apr 22, 2024
108 checks passed
@riedgar-ms riedgar-ms deleted the riedgar-ms/fix-ci-build-01 branch April 22, 2024 10:28
@paulbkoch
Copy link
Collaborator

Thanks @riedgar-ms! Sorry this was failing intermittently. I guess we got lucky on the PR build then.

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.

3 participants