clj-commons

2023-04-01T19:00:50.634469Z

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.

2023-04-02T11:16:28.184359Z

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

🎉 2
borkdude 2023-04-01T19:17:46.698649Z

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

borkdude 2023-04-01T19:18:10.396569Z

which library is it?

2023-04-01T19:21:44.567939Z

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.

borkdude 2023-04-01T19:22:05.717789Z

Is this library moving to clj-commons?

2023-04-01T19:22:27.104259Z

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.

borkdude 2023-04-01T19:22:59.108709Z

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

2023-04-01T19:23:06.057929Z

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

👍 1
borkdude 2023-04-01T19:23:27.473889Z

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

2023-04-01T19:23:38.318829Z

Ok, thank you!

seancorfield 2023-04-01T19:45:03.509969Z

@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

2023-04-01T19:46:46.974719Z

I will, thank you!

2023-04-01T21:53:00.748209Z

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

borkdude 2023-04-01T21:53:28.348169Z

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

2023-04-01T21:54:01.186959Z

Oh, I see what you mean now 😅

borkdude 2023-04-01T21:54:08.022729Z

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

borkdude 2023-04-01T21:54:18.081619Z

+ CLJS

2023-04-01T21:54:54.160379Z

Ok, I will check it out, thanks.

lread 2023-04-02T03:38:11.085739Z

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