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,32 +68,33 @@ jobs:
7168 fail-fast : false
7269 matrix :
7370 julia_version :
74- - " 1.10 "
75- - " 1.11 "
71+ - " lts "
72+ - " 1"
7673 julia_arch :
7774 - x64
7875 os :
7976 - ubuntu-latest
8077 runs-on : ${{ matrix.os }}
8178 steps :
82- - name : Build PyCall
83- run : julia --project -e 'ENV["PYTHON"]=""; using Pkg; Pkg.instantiate(); Pkg.add("PyCall"); Pkg.build("PyCall")'
84- shell : bash
85- - name : Install matplotlib
86- run : if [ "$RUNNER_OS" = "Linux" ]; then sudo apt-get install -y python3-matplotlib; fi
87- shell : bash
8879 - uses : actions/checkout@v4
8980 - uses : julia-actions/setup-julia@v2
9081 with :
9182 arch : ${{ matrix.julia_arch }}
9283 version : ${{ matrix.julia_version }}
93- - name : Build PyCall
94- run : julia --project -e 'ENV["PYTHON"]=""; using Pkg; Pkg.instantiate(); Pkg.add("PyCall"); Pkg.build("PyCall")'
95- shell : bash
9684 - uses : julia-actions/cache@v2
85+ - uses : julia-actions/julia-buildpkg@v1
9786 - uses : julia-actions/julia-runtest@v1
9887 env :
9988 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'
10098 - uses : julia-actions/julia-processcoverage@v1
10199 - uses : codecov/codecov-action@v5
102100 with :
@@ -110,12 +108,11 @@ jobs:
110108 steps :
111109 - uses : actions/checkout@v4
112110 - uses : julia-actions/setup-julia@v2
113- - name : Build PyCall
114- run : julia --project=docs/ -e 'ENV["PYTHON"]=""; using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate(); Pkg.build("PyCall")'
115- shell : bash
116111 - uses : julia-actions/cache@v2
117112 - uses : julia-actions/julia-buildpkg@v1
113+
118114 - uses : julia-actions/julia-docdeploy@v1
119115 env :
120116 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
121117 DOCUMENTER_KEY : ${{ secrets.DOCUMENTER_KEY }}
118+
0 commit comments