Skip to content

Commit 4223196

Browse files
committed
cabal test
1 parent 61c2cf1 commit 4223196

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,6 @@ jobs:
3535

3636
- name: Build
3737
run: cabal install hspec-discover && cabal build arrayfire
38+
39+
- name: Test
40+
run: cabal test

test/Main.hs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ instance (A.AFType a, Arbitrary a) => Arbitrary (Array a) where
2020

2121
main :: IO ()
2222
main = do
23+
A.setBackend A.CPU
2324
-- checks (Proxy :: Proxy (A.Array (A.Complex Float)))
2425
-- checks (Proxy :: Proxy (A.Array (A.Complex Double)))
2526
-- checks (Proxy :: Proxy (A.Array Double))

0 commit comments

Comments
 (0)