Skip to content

Commit 187e66c

Browse files
committed
drop support for 1.6; revert CSR matrix init in tests
1 parent a4054a7 commit 187e66c

File tree

5 files changed

+5
-8
lines changed

5 files changed

+5
-8
lines changed

.github/workflows/CI-OndaEDFSchemas.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
fail-fast: false
2222
matrix:
2323
version:
24-
- "1.6"
24+
- "min"
2525
- "1"
2626
os:
2727
- ubuntu-latest

.github/workflows/CI.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
fail-fast: false
2020
matrix:
2121
version:
22-
- "1.6"
22+
- "min"
2323
- "1"
2424
os:
2525
- ubuntu-latest
@@ -45,4 +45,3 @@ jobs:
4545
file: lcov.info
4646
flags: OndaEDF.jl
4747
token: ${{ secrets.CODECOV_TOKEN }}
48-

OndaEDFSchemas.jl/Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ UUIDs = "cf7118a7-6976-5b1a-9a39-7adc72f591a4"
1111
[compat]
1212
Legolas = "0.5.5"
1313
Onda = "0.15"
14-
julia = "1.6"
14+
julia = "1.10"
1515

1616
[extras]
1717
Arrow = "69666777-d1a9-59fb-9406-91d4454c9d45"

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ StableRNGs = "1"
2929
StatsBase = "0.33, 0.34"
3030
Tables = "1.4"
3131
TimeSpans = "0.3, 1"
32-
julia = "1.6"
32+
julia = "1.10"
3333

3434
[extras]
3535
FilePathsBase = "48062228-2e41-5def-b9a4-89aafe57970f"

test/export.jl

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,7 @@
3131
@testset "Record metadata" begin
3232
function change_sample_rate(samples; sample_rate)
3333
info = SamplesInfoV2(Tables.rowmerge(samples.info; sample_rate=sample_rate))
34-
# sparse CSC but for wide data we have a huge column pointer
35-
# so transposing to get sparse CSR
36-
new_data = spzeros(eltype(samples.data), Onda.index_from_time(sample_rate, Onda.duration(samples)) - 1, channel_count(samples))'
34+
new_data = similar(samples.data, 0, Onda.index_from_time(sample_rate, Onda.duration(samples)) - 1)
3735
return Samples(new_data, info, samples.encoded; validate=false)
3836
end
3937

0 commit comments

Comments
 (0)