clj-commons 2023-04-01

Hello, I'm a new maintainer of a clojurescript library and would like to ask if someone has a pointer to a nice setup to run tests/publish versions automatically.

Thank you all for helping, I got the tests running on chrome using github actions. 🙌

🎉 2

In my experience https://github.com/Olical/cljs-test-runner is the most straightforward way of testing a library (and also supports advanced compilation)

which library is it?

It's https://github.com/hoplon/hoplon I'm working on moving it from boot to deps.edn, and I'm already running tests using the cljs-test-runner.

Is this library moving to clj-commons?

But I could only setup it to run using chrome-headless on my machine and I'm wondering how to setup it on a ci.

I'm a bit busy but @lee might have some ideas (since #etaoin also runs those)

It is not, at least not a this time. But since you all maintain several libraries I wanted to borrow from your experience 😉

👍 1

you might just check out etaoin's github setup for ideas

@mynomoto have a look at HoneySQL as well - it's cljc and has simple packaging for Clojars with tools.build and GitHub actions to auto deploy

@borkdude I may be missing something but I could find no cljs tests on etaoin 🤔

@mynomoto no, but it does run chrome headless :)

Oh, I see what you mean now 😅

I'm also running some etaoin + chrome headless tests in this project: https://github.com/borkdude/re-find.web

Ok, I will check it out, thanks.

hey ho @mynomoto, feel free to ping me here or over at #etaoin if you have more questions