Skip to content

Fix: Unit tests conditionally create virtual environment#352

Merged
sfc-gh-mwyatt merged 1 commit intomainfrom
mwyatt/fix-ci-venv
Feb 10, 2026
Merged

Fix: Unit tests conditionally create virtual environment#352
sfc-gh-mwyatt merged 1 commit intomainfrom
mwyatt/fix-ci-venv

Conversation

@sfc-gh-mwyatt
Copy link
Copy Markdown
Collaborator

Check if venv exists before running uv venv to avoid this problem:

error: Failed to create virtual environment
  Caused by: A virtual environment already exists at `/home/runner/work/ArcticTraining/ArcticTraining/.venv`. Use `--clear` to replace it

Ensure virtual environment is created only if it doesn't exist.
@sfc-gh-mwyatt sfc-gh-mwyatt merged commit 9ac70c0 into main Feb 10, 2026
9 checks passed
@sfc-gh-mwyatt sfc-gh-mwyatt deleted the mwyatt/fix-ci-venv branch February 10, 2026 17:27
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