Skip to content

update LTS - compat Plots v2 #88

update LTS - compat Plots v2

update LTS - compat Plots v2 #88

Workflow file for this run

name: ci
on:
workflow_dispatch:
pull_request:
push:
branches: [master, v2]
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
defaults:
run:
shell: bash
jobs:
CI:
if: "!contains(github.event.head_commit.message, '[skip ci]')"
env:
GKS_ENCODING: "utf8"
GKSwstype: "nul"
name: Julia ${{ matrix.version }} - ${{ matrix.os }}
runs-on: ${{ matrix.os }}
continue-on-error: ${{ matrix.version == 'nightly' }}
strategy:
fail-fast: false
matrix:
version:
- '1.10' # lower declared julia compat in `Project.toml`
- '1'
os: [ubuntu-latest, windows-latest, macos-latest]
arch: [x64]
steps:
- uses: actions/checkout@v4
- uses: julia-actions/setup-julia@latest
with:
version: ${{ matrix.version }}
- uses: julia-actions/cache@v2
- name: Develop RecipesBase, RecipesPipeline, PlotsBase, Plots
env:
JULIA_PKG_PRECOMPILE_AUTO: 0
run: |
julia -e '
using Pkg
Pkg.add([
(; url="https://github.com/JuliaPlots/Plots.jl", subdir="RecipesBase", rev="v2"),
(; url="https://github.com/JuliaPlots/Plots.jl", subdir="RecipesPipeline", rev="v2"),
(; url="https://github.com/JuliaPlots/Plots.jl", subdir="PlotsBase", rev="v2"),
(; url="https://github.com/JuliaPlots/Plots.jl", rev="v2"),
])
'
- name: Test GraphRecipes
run: |
cmd=(julia --color=yes)
if [ "$RUNNER_OS" == "Linux" ]; then
cmd=(xvfb-run ${cmd[@]})
fi
echo ${cmd[@]}
${cmd[@]} -e 'using Pkg; Pkg.test("GraphRecipes"; coverage=true)'
Skip:
if: "contains(github.event.head_commit.message, '[skip ci]')"
runs-on: ubuntu-latest
steps:
- name: Skip CI 🚫
run: echo skip ci