Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
t-bltg committed Apr 7, 2024
1 parent 1169856 commit e4dc889
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 26 deletions.
48 changes: 23 additions & 25 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ jobs:
fail-fast: false
matrix:
version:
- '1.9' # minimal declared julia compat in `Project.toml`
- '1' # latest stable
- '1' # latest stable
- '1.9' # minimal declared julia compat in `Project.toml`
experimental:
- false
os: [ubuntu-latest, windows-latest, macos-latest]
Expand Down Expand Up @@ -61,32 +61,30 @@ jobs:
version: ${{ matrix.version }}
- uses: julia-actions/cache@v1

- name: Develop RecipesBase, RecipesPipeline, PlotsBase, Plots
shell: julia --color=yes {0}
run: |
using Pkg
# foreach(path -> Pkg.develop(; path), ("./RecipesBase", "./RecipesPipeline", "./PlotsBase", "."))
# Pkg.precompile()
# - uses: julia-actions/julia-buildpkg@latest
# - name: Develop RecipesBase, RecipesPipeline, PlotsBase, Plots
# shell: julia --color=yes {0}
# run: |
# using Pkg
# foreach(path -> Pkg.develop(; path), ("./RecipesBase", "./RecipesPipeline", "./PlotsBase", "."))
# Pkg.precompile()

- name: Install conda based matplotlib
run: julia --color=yes ci/matplotlib.jl
# - name: Install conda based matplotlib
# run: julia --color=yes ci/matplotlib.jl

- name: Test RecipesBase, RecipesPipeline, PlotsBase, Plots
timeout-minutes: 60
run: |
cmd=(julia --color=yes)
if [ "$RUNNER_OS" == "Linux" ]; then
cmd=(xvfb-run ${cmd[@]})
fi
echo ${cmd[@]}
${cmd[@]} -e '
using Pkg
# foreach(name -> Pkg.test(name; coverage=true), ("RecipesBase", "RecipesPipeline", "PlotsBase", "Plots"))
'
# - name: Test RecipesBase, RecipesPipeline, PlotsBase, Plots
# timeout-minutes: 60
# run: |
# cmd=(julia --color=yes)
# if [ "$RUNNER_OS" == "Linux" ]; then
# cmd=(xvfb-run ${cmd[@]})
# fi
# echo ${cmd[@]}
# ${cmd[@]} -e '
# using Pkg
# foreach(name -> Pkg.test(name; coverage=true), ("RecipesBase", "RecipesPipeline", "PlotsBase", "Plots"))
# '

- name: Run downstream tests
- name: Test downstream packages
if: startsWith(matrix.os, 'ubuntu')
run: xvfb-run julia --color=yes ci/downstream.jl

Expand Down
2 changes: 1 addition & 1 deletion ci/downstream.jl
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ fake_supported_version!(path) = begin
parsed_toml["compat"]["RecipesBase"] = pkg_version("RecipesBase")
parsed_toml["compat"]["RecipesPipeline"] = pkg_version("RecipesPipeline")
parsed_toml["compat"]["PlotsBase"] = pkg_version("PlotsBase")
parsed_toml["compat"]["Plots"] = pkg_version("Plots")
parsed_toml["compat"]["Plots"] = pkg_version("")
open(toml, "w") do io
TOML.print(io, parsed_toml)
end
Expand Down

0 comments on commit e4dc889

Please sign in to comment.