on develop help sign in
ci: Disable linux-only tests on github ci
commit589a548fc7be51fb4ec8894cc8d5899d73a65b5a authorAli Abrar <aliabrar@gmail.com> dateFri 16 Apr 2021, 07:24 (5 years ago) parent634011f
3 files changed+16−5
cabal.project-nogtk+3−2 reflex-dom-core/reflex-dom-core.cabal+12−2 reflex-dom-test-selenium/reflex-dom-test-selenium.cabal+1−1
cabal.project-nogtk+3−2
@@ -1,8 +1,9 @@
11packages:
22 reflex-dom-core/
33 reflex-dom/
4− chrome-test-utils/
5− reflex-dom-test-selenium/
4+
5+package reflex-dom-core
6+ flags: -hydration-tests -gc-tests
67
78package reflex-dom
89 flags: +use-warp -webkit2gtk
reflex-dom-core/reflex-dom-core.cabal+12−2
@@ -54,6 +54,16 @@ flag split-these
5454 manual: False
5555 default: True
5656
57+flag hydration-tests
58+ description: Whether to run the hydration tests (currently only available on linux)
59+ default: True
60+ manual: True
61+
62+flag gc-tests
63+ description: Whether to run the gc tests (currently only available on linux)
64+ default: True
65+ manual: True
66+
5767library
5868 hs-source-dirs: src
5969 build-depends:
@@ -218,7 +228,7 @@ test-suite hydration
218228 main-is: hydration.hs
219229 type: exitcode-stdio-1.0
220230 default-language: Haskell98
221− if !os(linux) || !arch(x86_64) || flag(profile-reflex)
231+ if !os(linux) || !arch(x86_64) || flag(profile-reflex) || !flag(hydration-tests)
222232 buildable: False
223233
224234-- broken test on base 4.11 & ghc 8.4.3
@@ -238,7 +248,7 @@ test-suite gc
238248 main-is: gc.hs
239249 type: exitcode-stdio-1.0
240250 default-language: Haskell98
241− if !os(linux) || !arch(x86_64)
251+ if !os(linux) || !arch(x86_64) || !flag(gc-tests)
242252 buildable: False
243253
244254source-repository head
reflex-dom-test-selenium/reflex-dom-test-selenium.cabal+1−1
@@ -15,7 +15,7 @@ library
1515 hs-source-dirs: src
1616 build-depends:
1717 async,
18− base >= 4.7 && < 4.14,
18+ base >= 4.7 && < 4.15,
1919 bytestring == 0.10.*,
2020 chrome-test-utils,
2121 exceptions,