Skip to content

Commit 20b3a51

Browse files
committed
Fix test, update CI
1 parent 8f22c79 commit 20b3a51

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/CI.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ jobs:
2424
matrix:
2525
version:
2626
- '1'
27-
- 'nightly'
27+
- 'lts'
28+
- 'pre'
2829
os:
2930
- ubuntu-latest
3031
arch:

test/test_preprocessing.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ img = inverse_transform(tfm, A)
4343
@test size(img) == (40, 60)
4444

4545
# DataAugmentations.jl
46-
tfm = CenterResizeCrop((60, 40)) |> ImageToTensor() |> Normalize(default_mean, default_std)
46+
tfm = CenterResizeCrop((40, 60)) |> ImageToTensor() |> Normalize(default_mean, default_std)
4747
A = transform(tfm, path)
4848
@test size(A) == (60, 40, 3)
4949
@test_reference "references/DataAugmentations.txt" A

0 commit comments

Comments
 (0)