Skip to content

Commit 16cba4a

Browse files
Fix trailing task precompilation issue on 1.9. Run CI on 1.9 (#1201)
* fix and test 1.9 * Update ci.yml
1 parent 4e7fb15 commit 16cba4a

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ jobs:
2323
version:
2424
- 'min'
2525
- 'lts'
26+
- '1.9' # test because we know there was a precompilation issue on 1.9 issues/1202
2627
- '1' # automatically expands to the latest stable 1.x release of Julia
2728
- 'nightly'
2829
os:

src/precompile.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,5 +35,6 @@ using PrecompileTools: @setup_workload, @compile_workload
3535
end
3636

3737
HTTP.forceclose(server)
38+
yield() # needed on 1.9 to avoid some issue where it seems a task doesn't stop before serialization
3839
server = nothing
3940
end

0 commit comments

Comments
 (0)