Skip to content

Commit 39cea88

Browse files
authored
Merge branch 'main' into mb/bundle-ignore-toplevel
2 parents 340df91 + 33e3ba0 commit 39cea88

File tree

3 files changed

+19
-12
lines changed

3 files changed

+19
-12
lines changed

.github/workflows/CI.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
- os: macos-latest
3939
version: "1"
4040
steps:
41-
- uses: actions/checkout@v4
41+
- uses: actions/checkout@v5
4242
- uses: julia-actions/setup-julia@v2
4343
with:
4444
version: ${{ matrix.version }}
@@ -72,7 +72,7 @@ jobs:
7272
name: Aqua
7373
runs-on: ubuntu-latest
7474
steps:
75-
- uses: actions/checkout@v4
75+
- uses: actions/checkout@v5
7676
- uses: julia-actions/setup-julia@v2
7777
with:
7878
version: "1"
@@ -89,7 +89,7 @@ jobs:
8989
name: JET
9090
runs-on: ubuntu-latest
9191
steps:
92-
- uses: actions/checkout@v4
92+
- uses: actions/checkout@v5
9393
- uses: julia-actions/setup-julia@v2
9494
with:
9595
version: "1"
@@ -117,7 +117,7 @@ jobs:
117117
pull-requests: read # Required when using `push_preview=true`
118118
statuses: write # Optional, used to report documentation build statuses
119119
steps:
120-
- uses: actions/checkout@v4
120+
- uses: actions/checkout@v5
121121
- uses: julia-actions/setup-julia@v2
122122
with:
123123
version: "1"
@@ -138,7 +138,7 @@ jobs:
138138
name: Doctest
139139
runs-on: ubuntu-latest
140140
steps:
141-
- uses: actions/checkout@v4
141+
- uses: actions/checkout@v5
142142
- uses: julia-actions/setup-julia@v2
143143
with:
144144
# we'll restrict doctests to a minor version, to avoid failures due

test/datasets-large-live.jl

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,27 @@
11
@info "Uploading test data with prefix: JuliaHubLargeTest_$(TESTID)"
22
dataset_name = "JuliaHubLargeTest_$(TESTID)_Blob"
33
try
4-
open("testdata/large.dat", "w") do io
4+
lf_ds, lf_filesize = mktemp() do path, io
55
chunk = ones(UInt8, 1024^2)
66
# 210 MB forces multipart upload in rclone
77
for i = 1:210
88
write(io, chunk)
99
end
10+
close(io)
11+
# Upload the file
12+
r = JuliaHub.upload_dataset(
13+
dataset_name, path;
14+
description="some blob", tags=["x", "y", "z"],
15+
auth,
16+
)
17+
r, filesize(path)
1018
end
11-
JuliaHub.upload_dataset(dataset_name,
12-
"testdata/large.dat";
13-
description="some blob", tags=["x", "y", "z"],
14-
auth)
19+
@test lf_ds isa JuliaHub.Dataset
20+
@test lf_ds.name == dataset_name
21+
1522
datasets = JuliaHub.datasets(; auth)
1623
blob_dataset = only(filter(d -> d.name == dataset_name, datasets))
17-
@test blob_dataset.size == filesize("testdata/large.dat")
24+
@test blob_dataset.size == lf_filesize
1825
finally
1926
try
2027
JuliaHub.delete_dataset(dataset_name; auth)

test/jobs-windows-live.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
@testset "[LIVE] Windows batch job" begin
22
windows_batch_image = try
3-
JuliaHub.batchimage("winworkstation-batch", "default"; auth)
3+
JuliaHub.batchimage("winworkstation-batch"; auth)
44
catch e
55
isa(e, JuliaHub.InvalidRequestError) || rethrow(e)
66
@warn """

0 commit comments

Comments
 (0)