clojure-dev

seancorfield 2024-10-04T18:24:43.991329Z

@alexmiller What's the status of https://github.com/clojure/build.ci/blob/master/ci_data.clj these days, now that repos use GH actions for CI?

seancorfield 2024-10-04T18:28:13.946799Z

It looks like everything runs https://github.com/clojure/build.ci/blob/master/.github/workflows/test.yml which does a Java matrix of 8, 11, 17, 21 and a Clojure matrix of 1.9.0, 1.10.3, 1.11.3? That meshes with what I see run for core.unify which @fogus and I were discussing on Ask: 12 jobs (4 Java x 3 Clojure). Does that mean there's: a) no automated testing against earlier versions of Clojure b) no testing against 1.11.4 or 1.12.0 c) no testing against a different set of JVMs

Alex Miller (Clojure team) 2024-10-04T19:42:01.345729Z

Yes

Alex Miller (Clojure team) 2024-10-04T19:42:52.150369Z

We do actually test most of the contribs in the regression before we release

seancorfield 2024-10-04T19:43:31.539409Z

My question was more: can an individual contrib lib specify a different testing matrix?

Alex Miller (Clojure team) 2024-10-04T19:43:54.670869Z

Most of the contrib actions use the same template, so that should be updated (a few are special cased copies)

seancorfield 2024-10-04T19:44:12.156669Z

(several contribs have deps.edn testing setups for multi-version testing, via a script or something, but that's for dev/test locally, not CI)

Alex Miller (Clojure team) 2024-10-04T19:44:52.267449Z

It’s not parameterized right now (wasn’t easy to do that in gh actions at the time), so we just copied the template and modified for the few special ones

Alex Miller (Clojure team) 2024-10-04T19:46:41.329359Z

The thought was that maybe I would ultimately go back to using something ci_data to gen the contrib workflow files eventually but didn’t get around to that

seancorfield 2024-10-04T19:48:10.475379Z

A few contribs were being tested against 1.8 and earlier before -- and that's reflected in their deps.edn etc -- but I had forgotten (or didn't know) that stopped with the switch to GH actions... Probably just a matter of cleaning up the dev/test deps at this point. Should someone update that clojure-version line in those workflows?

seancorfield 2024-10-04T19:49:05.791619Z

Oh, you just did! Thank you!

Alex Miller (Clojure team) 2024-10-04T19:49:11.838209Z

I updated the template to add 1.11.4 and 1.12.0

👍🏻 1
🙏 1
🎉 1
Alex Miller (Clojure team) 2024-10-04T19:50:04.018099Z

Yeah it was a while that I stopped testing anything older