2323 ci :
2424 if : ${{ !contains(github.event.head_commit.message, '[skip ci]') && !contains(github.event.pull_request.labels.*.name, 'skip ci') }}
2525 env :
26+ JULIA_PROJECT : julia --project=@. --check-bounds=yes --color=yes
2627 JULIA_CONDAPKG_LIBSTDCXX_NG_VERSION : ' ignore' # handled ourselves in ci/matplotlib.jl
2728 JULIA_CONDAPKG_BACKEND : MicroMamba
2829 MPLBACKEND : agg
@@ -74,26 +75,25 @@ 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}
7878 run : |
79- using Pkg
80- Pkg.develop([
81- (; path="./RecipesBase"), # compat for LTS [sources], remove later
82- (; path="./RecipesPipeline"), # compat for LTS [sources], remove later
83- (; path="./PlotThemes"), # compat for LTS [sources], remove later
84- (; path="./PlotsBase"), # compat for LTS [sources], remove later
85- (; path="./GraphRecipes"),
86- (; path="./StatsPlots"),
87- ])
88- [Base.julia_cmd().exec..., joinpath("ci", "matplotlib.jl")] |> Cmd |> run
79+ ${{ env.JULIA_PROJECT }} -e '
80+ using Pkg
81+ Pkg.develop([
82+ (; path="./RecipesBase"), # compat for LTS [sources], remove later
83+ (; path="./RecipesPipeline"), # compat for LTS [sources], remove later
84+ (; path="./PlotThemes"), # compat for LTS [sources], remove later
85+ (; path="./PlotsBase"), # compat for LTS [sources], remove later
86+ (; path="./GraphRecipes"),
87+ (; path="./StatsPlots"),
88+ ])
89+ [Base.julia_cmd().exec..., joinpath("ci", "matplotlib.jl")] |> Cmd |> run
90+ Pkg.precompile() # // precompilation
91+ '
8992
90- # NOTE: test is using `--check-bounds=yes` !
91- - run : julia --project=@. --check-bounds=yes --color=yes 'using Pkg; Pkg.precompile()'
92-
93- - name : test Plots stack
93+ - name : test Plots stack²
9494 timeout-minutes : 60
9595 run : |
96- cmd=(julia --project=@. --check-bounds=yes --color=yes --depwarn=yes)
96+ cmd=(${{ env.JULIA_PROJECT }} --depwarn=yes)
9797 if [ "$RUNNER_OS" == "Linux" ]; then
9898 cmd=(xvfb-run ${cmd[@]})
9999 fi
@@ -108,6 +108,7 @@ jobs:
108108 "StatsPlots",
109109 "Plots",
110110 ]; coverage=true)'
111+
111112 - uses : julia-actions/julia-processcoverage@latest
112113 with :
113114 directories : RecipesBase/src,RecipesPipeline/src,PlotsBase/src,src,GraphRecipes/src,StatsPlots/src,PlotThemes/src
0 commit comments