Skip to content

Commit 1ec49e7

Browse files
committed
Fix CI.yml
1 parent fd3de85 commit 1ec49e7

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/CI.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,6 @@ jobs:
7979
- ubuntu-latest
8080
runs-on: ${{ matrix.os }}
8181
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
8582
- name: Install matplotlib
8683
run: if [ "$RUNNER_OS" = "Linux" ]; then sudo apt-get install -y python3-matplotlib; fi
8784
shell: bash
@@ -90,10 +87,11 @@ jobs:
9087
with:
9188
arch: ${{ matrix.julia_arch }}
9289
version: ${{ matrix.julia_version }}
90+
- uses: julia-actions/cache@v2
91+
- uses: julia-actions/julia-buildpkg@v1
9392
- name: Build PyCall
9493
run: julia --project -e 'ENV["PYTHON"]=""; using Pkg; Pkg.instantiate(); Pkg.add("PyCall"); Pkg.build("PyCall")'
9594
shell: bash
96-
- uses: julia-actions/cache@v2
9795
- uses: julia-actions/julia-runtest@v1
9896
env:
9997
BUILD_IS_PRODUCTION_BUILD: false

0 commit comments

Comments
 (0)