2222 fail-fast : false
2323 matrix :
2424 version :
25- - ' 1.10 '
25+ - ' lts '
2626 - ' 1'
2727 os :
2828 - ubuntu-latest
4040 version : 1
4141 build_is_production_build : true
4242 steps :
43- - name : Install matplotlib
44- run : if [ "$RUNNER_OS" = "Linux" ]; then sudo apt-get install -y python3-matplotlib; fi
45- shell : bash
4643 - uses : actions/checkout@v4
4744 - uses : julia-actions/setup-julia@v2
4845 with :
@@ -71,31 +68,33 @@ jobs:
7168 fail-fast : false
7269 matrix :
7370 julia_version :
74- - " 1.10"
75- - " 1.11"
76- - " pre"
71+ - " lts"
72+ - " 1"
7773 julia_arch :
7874 - x64
7975 os :
8076 - ubuntu-latest
8177 runs-on : ${{ matrix.os }}
8278 steps :
83- - name : Install matplotlib
84- run : if [ "$RUNNER_OS" = "Linux" ]; then sudo apt-get install -y python3-matplotlib; fi
85- shell : bash
8679 - uses : actions/checkout@v4
8780 - uses : julia-actions/setup-julia@v2
8881 with :
8982 arch : ${{ matrix.julia_arch }}
9083 version : ${{ matrix.julia_version }}
9184 - uses : julia-actions/cache@v2
9285 - uses : julia-actions/julia-buildpkg@v1
93- - name : Build PyCall
94- run : julia --project -e 'ENV["PYTHON"]=""; using Pkg; Pkg.instantiate(); Pkg.add("PyCall"); Pkg.build("PyCall")'
95- shell : bash
9686 - uses : julia-actions/julia-runtest@v1
9787 env :
9888 BUILD_IS_PRODUCTION_BUILD : false
89+ - name : Install matplotlib
90+ run : sudo apt-get install -y python3-matplotlib
91+ - name : Build PyCall with system Python
92+ run : julia -e 'ENV["PYTHON"]="python3"; using Pkg; Pkg.add("PyCall"); Pkg.build("PyCall")'
93+ - uses : julia-actions/julia-runtest@v1
94+ env :
95+ JULIA_NUM_THREADS : 1
96+ with :
97+ test_args : ' plot-controlplots'
9998 - uses : julia-actions/julia-processcoverage@v1
10099 - uses : codecov/codecov-action@v5
101100 with :
@@ -109,9 +108,6 @@ jobs:
109108 steps :
110109 - uses : actions/checkout@v4
111110 - uses : julia-actions/setup-julia@v2
112- - name : Build PyCall
113- run : julia --project=docs/ -e 'ENV["PYTHON"]=""; using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate(); Pkg.build("PyCall")'
114- shell : bash
115111 - uses : julia-actions/cache@v2
116112 - uses : julia-actions/julia-buildpkg@v1
117113
0 commit comments