Skip to content

Commit 44eb1cd

Browse files
avoid precompiling trailing task warning (#229)
* avoid precompiling trailing task warning * update CI * disable windows 1.6 CI
1 parent 4527b03 commit 44eb1cd

2 files changed

Lines changed: 13 additions & 12 deletions

File tree

.github/workflows/ci.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@ on:
77
branches:
88
- master
99
tags: '*'
10+
11+
# needed to allow julia-actions/cache to delete old caches that it has created
12+
permissions:
13+
actions: write
14+
contents: read
15+
1016
jobs:
1117
test:
1218
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
@@ -15,27 +21,21 @@ jobs:
1521
fail-fast: false
1622
matrix:
1723
os: [ubuntu-latest, windows-latest, macOS-latest]
18-
version: ['1.6', '1', 'nightly']
24+
version: ['1.6', '1', 'pre']
1925
arch: [x64]
2026
include:
2127
- os: ubuntu-latest
2228
prefix: xvfb-run
29+
exclude:
30+
- os: windows-latest
31+
version: '1.6' # slow registry cloning on CI
2332
steps:
2433
- uses: actions/checkout@v4
25-
- uses: julia-actions/setup-julia@v1
34+
- uses: julia-actions/setup-julia@v2
2635
with:
2736
version: ${{ matrix.version }}
2837
arch: ${{ matrix.arch }}
29-
- uses: actions/cache@v3
30-
env:
31-
cache-name: cache-artifacts
32-
with:
33-
path: ~/.julia/artifacts
34-
key: ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
35-
restore-keys: |
36-
${{ runner.os }}-test-${{ env.cache-name }}-
37-
${{ runner.os }}-test-
38-
${{ runner.os }}-
38+
- uses: julia-actions/cache@v2
3939
- uses: julia-actions/julia-buildpkg@v1
4040
- uses: julia-actions/julia-runtest@v1
4141
with:

src/ProfileView.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -612,6 +612,7 @@ let
612612
end
613613
precompile(fdraw)
614614
closeall() # necessary to prevent serialization of stale references (including the internal `empty!`)
615+
Gtk.enable_eventloop(false, wait_stopped = true) # to avoid trailing task warning
615616
end
616617
end
617618
end

0 commit comments

Comments
 (0)