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

Use DVC_ROOT to detect pipeline #718

Merged
merged 1 commit into from
Oct 5, 2023
Merged

Use DVC_ROOT to detect pipeline #718

merged 1 commit into from
Oct 5, 2023

Conversation

dberenbaum
Copy link
Collaborator

Before DVC_ROOT, we often checked for whether dvclive was running inside dvc exp run because we had no way to check whether running inside dvc repro, but often we really want the same behavior in both scenarios. This PR expands the use of DVC_ROOT to check whether dvclive is running inside a pipeline.

@codecov-commenter
Copy link

codecov-commenter commented Sep 28, 2023

Codecov Report

All modified lines are covered by tests ✅

Files Coverage Δ
src/dvclive/live.py 95.49% <100.00%> (-0.27%) ⬇️
tests/test_dvc.py 100.00% <100.00%> (ø)
tests/test_log_artifact.py 100.00% <100.00%> (ø)
tests/test_post_to_studio.py 100.00% <100.00%> (ø)

📢 Thoughts on this report? Let us know!.

@dberenbaum
Copy link
Collaborator Author

@iterative/dvc Can anyone take a look at this please?

@efiop efiop merged commit d21fa55 into main Oct 5, 2023
10 checks passed
@efiop efiop deleted the dvc-root branch October 5, 2023 19:10
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