Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
217 commits
Select commit Hold shift + click to select a range
c91872b
Road to plots 2.0 (#4866)
isentropic Mar 12, 2024
b1811ba
create `PlotsBase` (#4913)
t-bltg Apr 1, 2024
d7aa8bc
fix tests - restore preferences - cleanup (#4914)
t-bltg Apr 7, 2024
a5a028b
restore ci on v2
t-bltg Apr 7, 2024
2979ab5
restore format check on v2
t-bltg Apr 7, 2024
5014e6c
empty commit
t-bltg Apr 7, 2024
4ef0b18
Merge branch 'master' into v2
t-bltg Apr 7, 2024
82f57ba
make downstream test conditional
t-bltg Apr 7, 2024
023b643
cleanup
t-bltg Apr 7, 2024
a5992ba
fix typos
t-bltg Apr 7, 2024
cd272b7
Merge branch 'master' into v2
t-bltg Apr 12, 2024
f27c801
fix test
t-bltg Apr 12, 2024
9d70fa9
fixes
t-bltg Apr 12, 2024
b377179
remove `using`
t-bltg Apr 12, 2024
f55ee23
fix test
t-bltg Apr 12, 2024
3bea623
stable Plots v2 - checkpoint CI ✓
t-bltg Apr 18, 2024
9f185ad
use `@static` for `PythonCall`
t-bltg Apr 25, 2024
4f5b3f2
Merge branch 'master' into v2
t-bltg Apr 27, 2024
4609e98
Merge branch 'master' into v2
t-bltg May 4, 2024
0ab074b
format
t-bltg May 4, 2024
83346a6
use deterministic series IDs in PGFPlotsX (#4933)
ajdunlap May 13, 2024
bb08fa0
Bump julia-actions/cache from 1 to 2 (#4938)
dependabot[bot] May 13, 2024
52d35b9
Bump actions/cache from 3 to 4 (#4937)
dependabot[bot] May 13, 2024
3db0408
Bump peter-evans/create-pull-request from 5 to 6 (#4936)
dependabot[bot] May 13, 2024
f32247a
add recipe for series on Plots v2 (#4941)
BeastyBlacksmith May 23, 2024
617b8aa
GR: Draw all gridlines before axis (v2) (#4960)
dd0 Jul 13, 2024
f75d21a
[v2] Fix floating point equality comparison in layouts (#4973)
penelopeysm Aug 23, 2024
8bb247a
Add docs folder (#4963)
BeastyBlacksmith Aug 28, 2024
4bae77b
CI fixes v2 (#4980)
penelopeysm Sep 10, 2024
0d6f0b4
CompatHelper: add new compat entry for IJulia in [weakdeps] at versio…
github-actions[bot] Sep 13, 2024
bec14d1
CompatHelper: add new compat entry for FileIO in [weakdeps] at versio…
github-actions[bot] Sep 13, 2024
2696246
CompatHelper: add new compat entry for GeometryBasics in [weakdeps] a…
github-actions[bot] Sep 13, 2024
9c256c9
CompatHelper: add new compat entry for Unitful in [weakdeps] at versi…
github-actions[bot] Sep 13, 2024
5a611ce
CompatHelper: add new compat entry for ImageInTerminal in [weakdeps] …
github-actions[bot] Sep 13, 2024
f000fc7
GR backend: use textext for :log2 and :ln axis scaling (#4991) (#4993)
pjaap Oct 2, 2024
17b6ca0
RecipesPipeline: GroupBy: apply idxfilter to errorbars (#4967)
lukas-weber Oct 2, 2024
7b37fd5
Update ci.yml for aarch64 mac
ViralBShah Oct 3, 2024
efcbdba
Update ci.yml
ViralBShah Oct 3, 2024
7b0ae81
Merge pull request #4994 from JuliaPlots/ViralBShah-patch-1
ViralBShah Oct 4, 2024
049bba8
restrict to LTS 1.10 (#4997)
t-bltg Oct 8, 2024
19e3073
Bump peter-evans/create-pull-request from 6 to 7 (#4981)
dependabot[bot] Oct 9, 2024
f137efb
Adding uparrow as a predefined marker and creating unfilled markersha…
leckerbeon Oct 9, 2024
fa63411
delete` .github/workflows/invalidations.yml`
t-bltg Oct 12, 2024
c1cfa30
fix docs on v2 (#4999)
t-bltg Oct 13, 2024
46c6361
merge `GraphRecipes` & `StatsPlots` into monorepo - fix docs build (#…
t-bltg Oct 13, 2024
379b5b2
Update ci_build.sh
t-bltg Oct 13, 2024
861f892
Update ci_build.sh
t-bltg Oct 13, 2024
31840f9
Update ci_build.sh
t-bltg Oct 13, 2024
cc021f6
update docs (#5001)
t-bltg Oct 13, 2024
12d1a41
Update build-docs.sh
t-bltg Oct 13, 2024
f7ed0f7
add `Pkg.precompile`
t-bltg Oct 13, 2024
27d0c52
change urls in `docs/make.jl`
t-bltg Oct 13, 2024
38c6c95
restore test order in ci
t-bltg Oct 13, 2024
324fb8e
prevent segfault
t-bltg Oct 13, 2024
fb045e0
add `MPLBACKEND` to ci script
t-bltg Oct 13, 2024
a6562c1
fix url in docs build script
t-bltg Oct 13, 2024
52c6340
use `devbranch` in `docs/make.jl`
t-bltg Oct 14, 2024
c4ca40d
revert `devbranch` changes
t-bltg Oct 14, 2024
912824f
correct deploy repo
BeastyBlacksmith Oct 24, 2024
b51c665
animation: autoplay <video> in HTML (#5006)
fonsp Oct 24, 2024
bb14fd5
fix `GITHUB_REPOSITORY`
t-bltg Oct 24, 2024
8119dac
add `codespell` action and correct spelling errors (#5011)
t-bltg Nov 1, 2024
43e7f65
update docs for `v2` (#5012)
t-bltg Nov 2, 2024
4cb0a72
temporary docs v2 fix (#5013)
t-bltg Nov 2, 2024
675d4dc
update `build-docs.sh`
t-bltg Nov 2, 2024
5c95a62
update `make.jl`
t-bltg Nov 2, 2024
01701b6
update urls for `v2` (#5014)
t-bltg Nov 2, 2024
c7902ef
add `PlotThemes` into monorepo (#5015)
t-bltg Nov 4, 2024
f272860
update `PlotThemes` README.md
t-bltg Nov 4, 2024
76863f3
CI: extend coverage to all packages
t-bltg Nov 4, 2024
c664bfe
fix typo
t-bltg Nov 4, 2024
1e8ed71
fix typo in `plotly_colorscale` (#5017)
simsurace Nov 6, 2024
b381f54
use `mode = PKGMODE_MANIFEST` in tests
t-bltg Nov 7, 2024
bcb7b31
drop older versions (#5019)
t-bltg Nov 7, 2024
dceac86
change ci results branch
t-bltg Nov 8, 2024
9e88053
fix badge
t-bltg Nov 10, 2024
b1ea6c8
enhance cleanup of `tmp` files - format (#5022)
t-bltg Nov 12, 2024
aa34c88
codespell
t-bltg Nov 12, 2024
d38e624
docs: update `install.md`
t-bltg Nov 12, 2024
b4e4b0d
fix typo
t-bltg Nov 12, 2024
0913999
check version in ci - fix precompilation (#5024)
t-bltg Nov 13, 2024
8f39664
fix `PlotsBase.Commons` usage
t-bltg Nov 13, 2024
6bc1ecc
remove dep (#5025)
t-bltg Nov 13, 2024
2068ec7
add `WEAKDEPS` to trigger package extensions (#5026)
t-bltg Nov 13, 2024
a90fca5
fix typo
t-bltg Nov 13, 2024
8da4afc
fix deps
t-bltg Nov 13, 2024
68a3fa8
fix seed
t-bltg Nov 13, 2024
f017272
bump `codecov/codecov-action` from 4 to 5 (#5028)
dependabot[bot] Nov 19, 2024
0b9a176
Make @df support string column names (#5033)
ron-wolf Nov 25, 2024
da79316
update docs: `learning.md` (#5037)
FredrikHedman Dec 15, 2024
4cb135e
switch to `lts` keyword
t-bltg Jan 9, 2025
c1c10fa
Update codecov.yml
t-bltg Jan 13, 2025
d4f78b2
Rename codecov.yml to .codecov.yml
t-bltg Jan 13, 2025
0d17976
Update .codecov.yml
t-bltg Jan 13, 2025
2d9d18b
Fixed date value access (#5053)
Finn-eisen Mar 12, 2025
29a8007
fixed issue #4881, arrowsize (#5054)
Finn-eisen Mar 17, 2025
0640296
add df macro (#5058)
BeastyBlacksmith Mar 17, 2025
1b5cc85
fixed issue #4975 (#5059)
Finn-eisen Mar 18, 2025
55e84da
fixed issue #4880 (#5060)
Finn-eisen Mar 27, 2025
9430137
apply swap suggestion (#5069)
t-bltg Apr 11, 2025
4af8ae2
fix zscale assignment
t-bltg Apr 11, 2025
683ba8c
try to fix PlotllyJS (again)
t-bltg Apr 11, 2025
401deee
Update ci.yml
t-bltg Apr 11, 2025
433b410
Update ci.yml
t-bltg Apr 11, 2025
94fe500
Fix precompilation in Julia 1.12 (#5074)
lmiq Apr 18, 2025
0c00c8c
fix `PlotlyJS` `ECONNREFUSED` (#5075)
t-bltg Apr 19, 2025
972d5d9
covergae : switch to `v2` branch
t-bltg Apr 20, 2025
2c3f90e
change codecov URL
t-bltg Apr 20, 2025
798ff28
rework DF - bump coverage - move `Interact` to ext (#5078)
t-bltg Apr 20, 2025
543aaa3
bump coverage in `StatsPlots` (#5080)
t-bltg Apr 21, 2025
bdb38f0
do not plot legend upon single series (#4964)
isentropic May 9, 2025
800b513
Dedent fenced code block in docstring (#5089)
abhro May 9, 2025
156ab8e
add `[sources]` (#5090)
t-bltg May 11, 2025
84ca22e
Update reference_images.yml
t-bltg May 11, 2025
991ce2c
add concurrency
t-bltg May 11, 2025
1c0c4e8
fix `is_auto` tests
t-bltg May 11, 2025
413ba31
use `--project`
t-bltg May 11, 2025
89d9a25
test `PlotsBase`
t-bltg May 11, 2025
cf4cfa8
format
t-bltg May 11, 2025
797e586
fix `reference_dir` in test_reference.jl
t-bltg May 11, 2025
d33a6d1
fix test reference
t-bltg May 11, 2025
f36e814
python : bypass `OpenSSL` version
t-bltg May 11, 2025
74395ec
Update matplotlib.jl
t-bltg May 11, 2025
0bf8210
Update matplotlib.jl
t-bltg May 11, 2025
129e96e
Update matplotlib.jl
t-bltg May 11, 2025
4d9a34f
Update ci.yml
t-bltg May 11, 2025
e1ff408
fix `detect_libstdcxx_version`
t-bltg May 11, 2025
bd03f56
use `JULIA_CONDAPKG_LIBSTDCXX_NG_VERSION` at toplevel
t-bltg May 11, 2025
6e9dfee
fix typo
t-bltg May 11, 2025
c04629b
typo
t-bltg May 11, 2025
f7a2c92
add `PlotThemes` to downstream
t-bltg May 11, 2025
5b8907e
update `_compatible_libstdcxx_ng_versions`
t-bltg May 11, 2025
e6b73f5
add `gcc` url for `libstdc++`
t-bltg May 11, 2025
2c4e033
add note
t-bltg May 11, 2025
2f50388
rework `Project.toml` using `[sources]` - add `test/Project.toml` (#5…
t-bltg May 11, 2025
d03a802
relax `libstdcxx` lower bound in ci
t-bltg May 12, 2025
885f62f
GraphRecipes : add missing source
t-bltg May 14, 2025
9162abe
RecipesPipeline: move source section
t-bltg May 14, 2025
4d289ba
rework libstdcxx bounds
t-bltg May 14, 2025
a4acd60
reference tests : use `DEPOT_PATH` instead of `homedir`
t-bltg Jun 6, 2025
e358c29
UnitfulExt: check PGFPlotsX availability (#5094)
Ickaser Jun 7, 2025
68c4412
show outdated test packages (#5099)
t-bltg Jun 7, 2025
345ed61
fix test path
t-bltg Jun 8, 2025
8882291
temporarily disable broken example (#5106)
t-bltg Jun 9, 2025
ba325c3
add specialisation for vector of vectors (#5103)
InfiniteChai Jun 10, 2025
f54c59b
skip annotations for plot title subplot (#5104)
InfiniteChai Jun 10, 2025
fb5792c
generalize the integer type support on `mesh3d` in GR (#5107)
InfiniteChai Jun 11, 2025
27b139a
load RequireJS explictly for Plotly when running in IJulia (#5109)
JamesWrigley Jun 15, 2025
f573943
fix world age problem on `pre` - `1.12` (#5111)
t-bltg Jun 21, 2025
88f44b6
fix removal of `Base.module_keys` (#5113)
t-bltg Jun 21, 2025
0241f97
Add `unit` axis attribute (for v2) (#5095)
Ickaser Jun 26, 2025
06cc1d3
use `julia-actions/cache`
t-bltg Jun 29, 2025
52c1fc7
fix typo
t-bltg Jul 2, 2025
5ebe54d
add compat bounds for docs (#5125)
t-bltg Jul 2, 2025
9d513ed
fix docs v2 (#5128)
t-bltg Jul 2, 2025
5b89b0d
fix typo [skip ci]
t-bltg Jul 2, 2025
a543e3d
typo
t-bltg Jul 2, 2025
4490fcd
fix docs build (#5129)
t-bltg Jul 2, 2025
66f1a7f
fix docs (#5130)
t-bltg Jul 2, 2025
089bdb7
update docs build (#5131)
t-bltg Jul 2, 2025
9421fda
add precompilation statement in ci
t-bltg Jul 2, 2025
004d48d
use `runic` formatter (#5132)
t-bltg Jul 3, 2025
b52a78e
simplify `ci.yml`
t-bltg Jul 3, 2025
024a6d9
rename `JULIA_PROJECT` to avoid conflicts
t-bltg Jul 3, 2025
c6b574b
fix typo
t-bltg Jul 3, 2025
f6d45ab
fix `Documenter`s `devbranch`
t-bltg Jul 3, 2025
f2c477b
fix empty `plotly` plots (#5135)
t-bltg Jul 3, 2025
98a3a03
docs debug on v2 (#5138)
t-bltg Jul 3, 2025
3479da8
docs: fix `edit_url`
t-bltg Jul 4, 2025
dd815e0
docs: fix joinpath [skip ci]
t-bltg Jul 4, 2025
cc400e9
Update make.jl [skip ci]
t-bltg Jul 4, 2025
c010ed3
simplify docs build script (#5141)
t-bltg Jul 4, 2025
fc0347e
add testing note
t-bltg Jul 4, 2025
ef6a36d
add docs build banner
t-bltg Jul 4, 2025
9f9ec2f
fix `edit_url`
t-bltg Jul 6, 2025
ba25771
add `pre-commit` hook (#5146)
t-bltg Jul 6, 2025
6390705
render more `html` and `svg` in docs (#5147)
t-bltg Jul 6, 2025
2b0e5a5
docs: fix debug mode
t-bltg Jul 6, 2025
591566f
docs: fix broken replacement
t-bltg Jul 6, 2025
86ce646
docs: hide `rng`
t-bltg Jul 7, 2025
38968bb
docs: fmt [skip ci]
t-bltg Jul 7, 2025
b50fd66
docs: update `svg` - `html` output - fix `plotlyjs` (#5149)
t-bltg Jul 7, 2025
c7e2a91
docs: remove `latest` which maps to `dev`
t-bltg Jul 7, 2025
c0af31e
docs: use `@main` [skip ci]
t-bltg Jul 7, 2025
b447e9f
docs: fixes for `plotlyjs` and `unicodeplots` (#5151)
t-bltg Jul 7, 2025
3dae4d8
docs: fix typo [skip ci]
t-bltg Jul 7, 2025
9f8bda0
docs: `layouts.md` punctuation
t-bltg Jul 7, 2025
d1c19af
docs: fixes
t-bltg Jul 7, 2025
3330342
add `PlotsBase/ext` to coverage
t-bltg Jul 7, 2025
2bfa455
add versioned manifest to `.gitignore`
t-bltg Jul 7, 2025
df1d002
docs: fix typo
t-bltg Jul 7, 2025
4ddb984
docs: update `attributes.md`
t-bltg Jul 8, 2025
bf7b93f
update all `README.md` links (#5152)
t-bltg Jul 8, 2025
f5c1a8b
Update README.md
t-bltg Jul 8, 2025
4cf9fbc
Update install.md
t-bltg Jul 8, 2025
b84ef3e
Update input_data.md
t-bltg Jul 8, 2025
2406959
fix `input_data.md`
t-bltg Jul 8, 2025
ef9f0a7
docs: rm return value in `input_data.md`
t-bltg Jul 8, 2025
1489a7c
Update output.md
t-bltg Jul 8, 2025
5d71b27
Update attributes.md
t-bltg Jul 9, 2025
cf97682
remove traces of `plotlybase` - update docs for `plotly` (#5159)
t-bltg Jul 14, 2025
5630380
revert preferred html output from svg -> png (#5168)
t-bltg Aug 11, 2025
c9ce300
docs: typo
t-bltg Aug 11, 2025
15de560
Bump actions/checkout from 4 to 5 (#5169)
dependabot[bot] Aug 12, 2025
6b9da6a
fix: prevent namespace pollution bug (#5170)
pankgeorg Aug 19, 2025
0f82be4
Update bug.md
t-bltg Sep 18, 2025
5868e66
Update bug.md
t-bltg Sep 18, 2025
312f24a
Update feature request.md
t-bltg Sep 18, 2025
1f7538c
Update feature request.md
t-bltg Sep 18, 2025
e271a8e
update Interpolations compat for `StatsPlots` (#5179)
Ickaser Sep 20, 2025
50ea05e
Fix handling of vector attributes for barlike plots (v2) (#5178)
BeastyBlacksmith Sep 24, 2025
c4132f2
add support for JSON 1.0 (#5186)
quinnj Oct 4, 2025
043992c
Unitful and weakdep handling for v2 extensions (#5143)
Ickaser Oct 5, 2025
4dbbc55
Remove reference to `RecipesBase.debug` (#5188)
penelopeysm Oct 7, 2025
b91981f
fix for new `PrettyTables` (#5189)
t-bltg Oct 8, 2025
e80462d
Clarify order of bounds in ribbon example (#5192)
francis-biocurie Oct 26, 2025
bd48d73
Fix passing of series attributes in plotting plots (#5194)
BeastyBlacksmith Oct 28, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 0 additions & 13 deletions .JuliaFormatter.toml

This file was deleted.

3 changes: 3 additions & 0 deletions .codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
comment: false
github_checks:
annotations: false
1 change: 0 additions & 1 deletion .github/FUNDING.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,3 @@

github: JuliaPlots
open_collective: plotsjl

9 changes: 4 additions & 5 deletions .github/ISSUE_TEMPLATE/bug.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
---
name: Bug report
about: Create a bug report
title: "[BUG]"
labels: bug
type: bug
assignees: ''

---
Expand All @@ -19,11 +18,11 @@ This bug occurs on ( insert `x` below )
Backend | yes | no | untested
-------------|-----|-----|---------
gr (default) | | |
unicodeplots | | |
pythonplot | | |
plotlyjs | | |
pgfplotsx | | |
unicodeplots | | |
inspectdr | | |
plotlyjs | | |
plotly | | |
gaston | | |

### Versions
Expand Down
3 changes: 1 addition & 2 deletions .github/ISSUE_TEMPLATE/feature request.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
---
name: Feature request
about: Suggest a feature or enhancement
title: "[FR]"
labels: feature request
type: feature
assignees: ''

---
Expand Down
3 changes: 1 addition & 2 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
<!-- Plots is in a 2.0 transition phase. Consider (also) targeting the v2 branch with this change -->
## Description

## Attribution
- [ ] I am listed in [.zenodo.json](https://github.com/JuliaPlots/Plots.jl/blob/2463eb9f8065c52ed8314f6e541664c5b9db88d2/.zenodo.json) (see https://github.com/JuliaPlots/Plots.jl/issues/3503)
- [ ] I am listed in the appropriate version of `.zenodo.json` for [PRs against v2](https://github.com/JuliaPlots/Plots.jl/blob/v2/.zenodo.json) or [PRs against master](https://github.com/JuliaPlots/Plots.jl/blob/master/.zenodo.json) (see https://github.com/JuliaPlots/Plots.jl/issues/3503)

## Things to consider
- [ ] Does it work on log scales?
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
name: benchmarks

on:
workflow_dispatch:
pull_request:
branches: [master]

concurrency:
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true

Expand All @@ -12,9 +14,9 @@ jobs:
if: "!contains(github.event.head_commit.message, '[skip ci]')"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
- uses: julia-actions/setup-julia@latest

- name: Ubuntu TESTCMD
run: echo "TESTCMD=xvfb-run --auto-servernum julia" >> $GITHUB_ENV
- name: Install Plots dependencies
Expand Down
161 changes: 68 additions & 93 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,144 +1,119 @@
name: ci

on:
workflow_dispatch:
pull_request:
push:
branches: [master]
branches: [v2]

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true

# needed to allow julia-actions/cache to delete old caches that it has created
permissions:
actions: write
contents: read

defaults:
run:
shell: bash

jobs:
ci:
if: "!contains(github.event.head_commit.message, '[skip ci]')"
if: ${{ !contains(github.event.head_commit.message, '[skip ci]') && !contains(github.event.pull_request.labels.*.name, 'skip ci') }}
env:
GKS_ENCODING: "utf8"
GKSwstype: "nul"
JULIA_CONDAPKG_BACKEND: "MicroMamba"
MPLBACKEND: "agg"
name: Julia ${{ matrix.version }} - ${{ matrix.os }}
JULIA_PROJECT_CMD: julia --project=@. --check-bounds=yes --color=yes
JULIA_CONDAPKG_LIBSTDCXX_NG_VERSION : 'ignore' # handled ourselves in ci/matplotlib.jl
JULIA_CONDAPKG_BACKEND: MicroMamba
MPLBACKEND: agg
GKS_ENCODING: utf8
GKSwstype: nul
name: julia ${{ matrix.version }} - ${{ matrix.os }}
continue-on-error: ${{ matrix.experimental }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
experimental: [false]
version:
- '1.6' # LTS (minimal declared julia compat in `Project.toml`)
- '1' # latest stable
experimental:
- false
os: [ubuntu-latest, windows-latest, macos-latest]
- 'lts' # minimal declared julia compat in `Project.toml`
- '1' # latest stable
os: [ubuntu-latest, windows-latest]
arch: [x64]
include:
- os: ubuntu-latest
experimental: false
prefix: xvfb-run # julia-actions/julia-runtest/blob/master/README.md
- os: ubuntu-latest
experimental: false
prefix: xvfb-run
version: '1.7' # only test intermediate release on `ubuntu` to spare resources
- os: ubuntu-latest
# NOTE: macos-latest resolves to macos-14 (only aarch64), use macos-13 for x86.
- os: macos-latest
experimental: false
prefix: xvfb-run
version: '1.8' # only test intermediate release on `ubuntu` to spare resources
- os: ubuntu-latest
arch: aarch64
version: 'lts'
- os: macos-latest
experimental: false
prefix: xvfb-run
version: '1.9' # only test intermediate release on `ubuntu` to spare resources
arch: aarch64
version: '1'
- os: ubuntu-latest
experimental: true
prefix: xvfb-run
version: '~1.11.0-0' # upcoming julia version, next `rc`
- os: ubuntu-latest
experimental: true
prefix: xvfb-run
version: 'nightly'
version: 'pre' # upcoming julia version (`alpha`, `beta` or `rc`)

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5

- name: Ubuntu LaTeX dependencies
- name: setup ubuntu dependencies
if: startsWith(matrix.os, 'ubuntu')
run: |
sudo apt-get -y update
sudo apt-get -y install gnuplot poppler-utils texlive-{latex-base,latex-extra,luatex} g++
sudo apt-get -y install g++ gnuplot poppler-utils texlive-{latex-base,latex-extra,luatex} # LaTeX
sudo fc-cache -vr

- name: Set LD_PRELOAD
if: startsWith(matrix.os, 'ubuntu')
run: echo "LD_PRELOAD=$(g++ --print-file-name=libstdc++.so)" >> $GITHUB_ENV
echo "LD_PRELOAD=$(g++ --print-file-name=libstdc++.so)" >>$GITHUB_ENV

- uses: julia-actions/setup-julia@latest
with:
version: ${{ matrix.version }}
- uses: julia-actions/cache@v1
- uses: julia-actions/julia-buildpkg@latest

- name: Run upstream RecipesBase & RecipesPipeline tests
shell: julia --project=@. --color=yes {0}
run: |
using Pkg
foreach(("RecipesBase", "RecipesPipeline")) do name
Pkg.develop(path=name); Pkg.test(name; coverage=true)
end
- uses: julia-actions/cache@v2

- name: Install conda based matplotlib
shell: julia --project=@. --color=yes {0}
- name: dev downstream pkgs and install mpl deps
env:
JULIA_PKG_PRECOMPILE_AUTO: 0
run: |
using Pkg; Pkg.add("CondaPkg")
using CondaPkg; CondaPkg.resolve()
libgcc = if Sys.islinux()
# see discourse.julialang.org/t/glibcxx-version-not-found/82209/8
# julia 1.8.3 is built with libstdc++.so.6.0.29, so we must restrict to this version (gcc 11.3.0, not gcc 12.2.0)
# see gcc.gnu.org/onlinedocs/libstdc++/manual/abi.html
specs = Dict(
v"3.4.29" => ">=11.1,<12.1",
v"3.4.30" => ">=12.1,<13.1",
v"3.4.31" => ">=13.1,<14.1",
v"3.4.32" => ">=14.1,<15.1",
v"3.4.33" => ">=15.1,<16.1",
# ... keep this up-to-date with gcc 16
)[Base.BinaryPlatforms.detect_libstdcxx_version()]
("libgcc-ng$specs", "libstdcxx-ng$specs")
else
()
end
CondaPkg.PkgREPL.add([libgcc..., "matplotlib"])
CondaPkg.status()
${{ env.JULIA_PROJECT_CMD }} -e '
using Pkg
Pkg.develop([
(; path="./RecipesBase"), # compat for LTS [sources], remove later
(; path="./RecipesPipeline"), # compat for LTS [sources], remove later
(; path="./PlotThemes"), # compat for LTS [sources], remove later
(; path="./PlotsBase"), # compat for LTS [sources], remove later
(; path="./GraphRecipes"),
(; path="./StatsPlots"),
])
include(joinpath(@__DIR__, "ci", "matplotlib.jl"))
Pkg.precompile() # // precompilation
'

- uses: julia-actions/julia-runtest@latest
- name: test Plots stack
timeout-minutes: 60
with:
prefix: ${{ matrix.prefix }} # for `xvfb-run`

- name: Run downstream tests
if: startsWith(matrix.os, 'ubuntu')
shell: xvfb-run julia --project=@. --color=yes {0}
run: |
using Pkg
foreach(("StatsPlots", "GraphRecipes")) do name
Pkg.activate(tempdir())
foreach(path -> Pkg.develop(; path), ("RecipesBase", "RecipesPipeline", "."))
Pkg.add(name); Pkg.test(name; coverage=true)
end
cmd=(${{ env.JULIA_PROJECT_CMD }} --depwarn=yes)
if [ "$RUNNER_OS" == "Linux" ]; then
cmd=(xvfb-run ${cmd[@]})
fi
echo ${cmd[@]}
${cmd[@]} -e 'using Pkg
Pkg.test([
"RecipesBase",
"RecipesPipeline",
"PlotThemes",
"PlotsBase",
"GraphRecipes",
"StatsPlots",
"Plots",
]; coverage=true)'

- uses: julia-actions/julia-processcoverage@latest
if: startsWith(matrix.os, 'ubuntu')
with:
directories: RecipesBase/src,RecipesPipeline/src,src
- uses: codecov/codecov-action@v4
if: startsWith(matrix.os, 'ubuntu')
directories: RecipesBase/src,RecipesPipeline/src,PlotsBase/src,PlotsBase/ext,src,PlotThemes/src,GraphRecipes/src,StatsPlots/src
- uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: false
file: lcov.info

Skip:
if: contains(github.event.head_commit.message, '[skip ci]')
runs-on: ubuntu-latest
steps:
- name: Skip CI 🚫
run: echo skip ci
17 changes: 17 additions & 0 deletions .github/workflows/codespell.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: codespell

on: [pull_request]

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true

jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: codespell-project/actions-codespell@v2
with:
ignore_words_list: nd,nax,namin,namax,linez,ist
only_warn: 0
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: CompatHelper
name: compathelper

on:
workflow_dispatch:
schedule:
- cron: '00 00 * * *'

Expand Down
52 changes: 27 additions & 25 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -1,33 +1,35 @@
name: docs

on:
workflow_dispatch:
push:
branches: [master]
tags: '*'
workflow_dispatch:
push:
branches: [v2]
tags: '*'
release:
types: [published]
pull_request:

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref && github.ref || github.run_id }}
cancel-in-progress: true

jobs:
Build_docs:
build:
if: ${{ github.event_name != 'pull_request' || contains(github.event.pull_request.labels.*.name, 'documentation') }}
permissions:
actions: write
contents: write
pull-requests: read
statuses: write
runs-on: ubuntu-latest
env:
PYTHON: ""
DOCUMENTER_KEY: ${{secrets.DOCUMENTER_KEY}}
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
steps:
- uses: actions/checkout@v4
with:
repository: JuliaPlots/PlotDocs.jl
- uses: actions/checkout@v5
- uses: julia-actions/setup-julia@latest
- name: Cache artifacts
uses: actions/cache@v4
env:
cache-name: cache-artifacts
with:
path: ~/.julia/artifacts
key: ${{runner.os}}-test-${{env.cache-name}}-${{hashFiles('**/Project.toml')}}
restore-keys: |
${{runner.os}}-test-${{env.cache-name}}-
${{runner.os}}-test-
${{runner.os}}-
- name: Build documentation
env:
PYTHON: ""
DOCUMENTER_KEY: ${{secrets.DOCUMENTER_KEY}}
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
run: bash docs/ci_build.sh
- uses: julia-actions/cache@v2
- run: bash -c '. ci/build-docs.sh; install_ubuntu_deps'
- run: bash -c '. ci/build-docs.sh; install_and_precompile_julia_deps'
- run: bash -c '. ci/build-docs.sh; build_documenter_docs'
Loading
Loading