Skip to content

Commit

Permalink
Always reuse project env
Browse files Browse the repository at this point in the history
  • Loading branch information
sevein committed Sep 25, 2024
1 parent eaa324a commit ce49027
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,9 @@ for version in "${combined[@]}"; do
--cov-report html
done

export UV_PROJECT_ENVIRONMENT="$curdir/.venv/test-runner/$latest/" \
export VIRTUAL_ENV="$curdir/.venv/test-runner/$latest/" \

print_status "Running \`ruff check\` using Python $latest..."
uv run --frozen --python "$latest" -- ruff check

Expand Down

0 comments on commit ce49027

Please sign in to comment.