File tree Expand file tree Collapse file tree 3 files changed +8
-3
lines changed Expand file tree Collapse file tree 3 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -183,7 +183,7 @@ jobs:
183183 export JUPYTER=$(find $(dirname $(uv run --frozen which jupyter))/ -type f -name "jupyter.exe" -o -name "jupyter")
184184 uv run --frozen julia --color=yes --project=. -e "import Pkg; Pkg.instantiate(); Pkg.build(\"IJulia\"); Pkg.precompile()"
185185 echo "Julia Jupyter:"
186- julia --project=. -e "import IJulia;println(IJulia.JUPYTER);println(IJulia.find_jupyter_subcommand(\"notebook\"))"
186+ uv run julia --project=. -e "import IJulia;println(IJulia.JUPYTER);println(IJulia.find_jupyter_subcommand(\"notebook\"))"
187187
188188 - name : Setup timing file for timed test
189189 if : ${{ matrix.time-test == true }}
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ try {$null = gcm julia -ea stop; $julia=$true } catch {
3333If ($julia ) {
3434 # TODO: Check to do equivalent of virtualenv
3535 Write-Host " Setting up Julia environment"
36- julia -- color= yes -- project= . - e ' import Pkg; Pkg.instantiate(); Pkg.build("IJulia"); Pkg.precompile()'
36+ uv run -- frozen julia -- color= yes -- project= . - e " import Pkg; Pkg.instantiate(); Pkg.build(` " IJulia` " ); Pkg.precompile()"
3737}
3838
3939# Check TinyTeX
Original file line number Diff line number Diff line change 3737 echo " No julia found in PATH - Check your PATH or install julia and add to PATH."
3838else
3939 echo " Setting up Julia environment"
40- julia --color=yes --project=. -e ' import Pkg; Pkg.instantiate(); Pkg.build("IJulia"); Pkg.precompile()'
40+ if [ -z $uv_exist ]
41+ then
42+ uv run --frozen julia --color=yes --project=. -e ' import Pkg; Pkg.instantiate(); Pkg.build("IJulia"); Pkg.precompile()'
43+ else
44+ julia --color=yes --project=. -e ' import Pkg; Pkg.instantiate(); Pkg.build("IJulia"); Pkg.precompile()'
45+ fi
4146fi
4247
4348# Update tinytex
You can’t perform that action at this time.
0 commit comments