diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0b90047c5..7e8eba069 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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] @@ -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 diff --git a/ci/downstream.jl b/ci/downstream.jl index 9f88c9c05..978a67e2b 100644 --- a/ci/downstream.jl +++ b/ci/downstream.jl @@ -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