Skip to content

update LTS - compat Plots v2 #86

update LTS - compat Plots v2

update LTS - compat Plots v2 #86

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]
include:
- os: ubuntu-latest
prefix: xvfb-run # julia-actions/julia-runtest/blob/master/README.md
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"),
])
'
- uses: julia-actions/julia-buildpkg@latest
- uses: julia-actions/julia-runtest@latest
with:
prefix: ${{ matrix.prefix }} # for `xvfb-run`
Skip:
if: "contains(github.event.head_commit.message, '[skip ci]')"
runs-on: ubuntu-latest
steps:
- name: Skip CI 🚫
run: echo skip ci