Skip to content

Commit ece5e7d

Browse files
committed
Test package imports in CI
1 parent fd8a0f6 commit ece5e7d

File tree

3 files changed

+11
-0
lines changed

3 files changed

+11
-0
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,3 +42,8 @@ jobs:
4242
cd test_depots/${{matrix.test_depot}}
4343
export NIX_PATH="nixpkgs=$(nix run .#nixpkgsPath)"
4444
nix-build .
45+
- name: Verify packages work
46+
run: |
47+
cd test_depots/${{matrix.test_depot}}
48+
nix-build .
49+
./result/bin/julia ./test.jl

test_depots/1.6.6/test.jl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
2+
import IJulia
3+
import Plots

test_depots/1.8.3/test.jl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
2+
import IJulia
3+
import Plots

0 commit comments

Comments
 (0)