-
Notifications
You must be signed in to change notification settings - Fork 32
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
Use self-hosted azure runners for bionemo unit tests #560
Conversation
0c864e0
to
af85a9d
Compare
b910cfa
to
d2d08f4
Compare
4ac20e0
to
818f4dc
Compare
Welcome to Codecov 🎉Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests. Thanks for integrating Codecov - We've got you covered ☂️ |
c4c2284
to
12e09d6
Compare
Looks like
|
781a8f2
to
df87ab1
Compare
Signed-off-by: Peter St. John <[email protected]>
df87ab1
to
7633699
Compare
# Function to handle cleanup on script exit | ||
cleanup() { | ||
local exit_code=$? | ||
[ -n "${coverage_files[*]:-}" ] && rm -f "${coverage_files[@]:-}" | ||
exit "$exit_code" | ||
} | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We need these coverage files to persist to the next step in the GHA actions pipeline so we can upload them to codecov. Do these stick around on the blossom workers?
path: ${{ github.run_id }} | ||
|
||
- name: Run tests | ||
run: ./ci/scripts/run_pytest.sh --no-nbval |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we could eventually make this configurable based on the PR label 🤷 . But I wonder how that interacts with code coverage diffs. I.e., I wouldn't want to flag a PR as "decreasing coverage" because we didn't run notebook tests...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed, and added ask to add mechanism for PR labels, otherwise LGTM
path: ${{ github.run_id }} | ||
|
||
- name: Run tests | ||
run: ./ci/scripts/run_pytest.sh --no-nbval |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
could you add here mechanism for PR labels: SKIP_CI and INCLUDE_NOTEBOOKS_TESTS to define the scope of tests or omit them completely?
Testing from a branch rather than a fork in #587 |
No description provided.