Skip to content

Commit

Permalink
install julia kernel
Browse files Browse the repository at this point in the history
  • Loading branch information
sosiristseng committed Oct 17, 2023
1 parent 3cca872 commit f57f0ff
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,9 @@ jobs:
with:
path: docs/${{ matrix.notebook }}
key: ${{ runner.os }}-notebook-${{ hashFiles(format('docs/{0}', matrix.notebook)) }}-${{ needs.setup.outputs.hash }}
- name: Install Julia kernel
if: ${{ steps.cache.outputs.cache-hit != 'true' }}
run: julia -e 'import IJulia; IJulia.installkernel("Julia", "--project=@.")'
- name: Execute Notebook
if: ${{ steps.cache.outputs.cache-hit != 'true' }}
run: >
Expand Down
4 changes: 0 additions & 4 deletions setup.jl
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
using Pkg
Pkg.add(["IJulia"])

import IJulia
IJulia.installkernel("Julia", "--project=@.")

Pkg.activate(".")
Pkg.instantiate()
Pkg.precompile()
Pkg.gc()

0 comments on commit f57f0ff

Please sign in to comment.