Skip to content

Commit a376da9

Browse files
committed
consistency
1 parent 0dc7c5d commit a376da9

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ jobs:
6464
sudo apt-get -y install g++ gnuplot poppler-utils texlive-{latex-base,latex-extra,luatex} # LaTeX
6565
sudo fc-cache -vr
6666
echo "LD_PRELOAD=$(g++ --print-file-name=libstdc++.so)" >>$GITHUB_ENV
67+
echo "JULIA_PROJECT="julia --project=@. --check-bounds=yes --color=yes" >>$GITHUB_ENV
6768
6869
- uses: julia-actions/setup-julia@latest
6970
with:
@@ -74,7 +75,7 @@ jobs:
7475
- name: dev downstream pkgs and install mpl deps
7576
env:
7677
JULIA_PKG_PRECOMPILE_AUTO: 0
77-
shell: julia --project=@. --color=yes {0}
78+
shell: $JULIA_PROJECT {0}
7879
run: |
7980
using Pkg
8081
Pkg.develop([
@@ -88,12 +89,12 @@ jobs:
8889
[Base.julia_cmd().exec..., joinpath("ci", "matplotlib.jl")] |> Cmd |> run
8990
9091
# NOTE: test is using `--check-bounds=yes` !
91-
- run: julia --project=@. --check-bounds=yes --color=yes 'using Pkg; Pkg.precompile()'
92+
- run: $JULIA_PROJECT -e 'using Pkg; Pkg.precompile()'
9293

9394
- name: test Plots stack
9495
timeout-minutes: 60
9596
run: |
96-
cmd=(julia --project=@. --check-bounds=yes --color=yes --depwarn=yes)
97+
cmd=($JULIA_PROJECT --depwarn=yes)
9798
if [ "$RUNNER_OS" == "Linux" ]; then
9899
cmd=(xvfb-run ${cmd[@]})
99100
fi

0 commit comments

Comments
 (0)