Fork me on GitHub
#shadow-cljs
<
2019-04-01
>
heyarne16:04:27

I have some problems with karma on circle-ci 😕 some tests just fail, rerunning them succeeds https://circleci.com/gh/heyarne/airsonic-ui/32

heyarne16:04:00

with "some tests" i mean some test runs, not some tests out of the whole test suite

heyarne16:04:06

language is hard

lilactown16:04:23

FWIW I've been using karma tests on circle-ci for a month or so now and had no issues

heyarne16:04:39

@lilactown do you use it locally, too?

lilactown16:04:57

nope. I use the graphical test runner

heyarne16:04:01

Because I've been using it in the background to continuously watch and build

heyarne16:04:07

Graphical test runner?

thheller17:04:32

@arne-clojurians it seems like compilation didn't finish before the tests are run

thheller17:04:35

shadow-cljs - config: /home/circleci/repo/shadow-cljs.edn  cli version: 2.8.25  node: v10.15.3
shadow-cljs - updating dependencies
shadow-cljs - dependencies updated
[:test] Compiling ...

> [email protected] test:run /home/circleci/repo
> karma start --single-run

thheller17:04:41

there have been issues before with circleci killing build processes running OOM. not sure how big your build is but it seems to help to set :jvm-opts ["-Xmx2G"] (limiting the JVM to max 2gig ram)

heyarne17:04:34

Hm I might just dump karma altogether. Or run a config similar to lilactown's. As much as I like having the tests run in the background permanently it's also quite fragile with complaining about syntax errors every so often yada yada

heyarne17:04:55

The browser-test might serve me just as well. 🙂

thheller17:04:09

there are no syntax errors

heyarne17:04:11

Plus if there are any contributors I don't have to tell them to install chrome

heyarne17:04:19

Not on circleci, no

thheller17:04:21

it just isn't finished compiling. figure out why and the problem goes away

heyarne17:04:31

But with the --watch feature

heyarne17:04:16

ooh wow stackoverflow sure is pretty today

heyarne17:04:34

i already forgot about that font, it used to be everywhere for a time