TestEnv.jl icon indicating copy to clipboard operation
TestEnv.jl copied to clipboard

how to use on nightly?

Open Roger-luo opened this issue 4 years ago • 2 comments

I find currently because this package only registered on versions before 1.8, if a package CI uses this package on nightly then it would fail, any idea about setting up this?

Roger-luo avatar Nov 27 '21 18:11 Roger-luo

We have a branch with julia 1.8 support ] add TestEnv#release-1.8

if a package CI uses this package on nightly

It is weird for a package to depend on this in CI. I am interested to hear the use-case

oxinabox avatar Nov 30 '21 00:11 oxinabox

My use case is that I have a few example projects need to run their own test while some of the dependencies are dev'ed, you can find the setup here https://github.com/comonicon/Comonicon.jl

there are two example projects FakePkg and Hello in example directory and they need to be run with Comonicon deved, and the test of Comonicon as well as its lib/ComoniconTestUtils needs to be run in an environment that both of the package is dev'ed so I find TestEnv is quite convenient to create a shared environment for this. There might be better ways I'm not aware of tho, so I'm happy to switch to whatever works better.

The script to run these tests in one single shared environment is here: https://github.com/comonicon/Comonicon.jl/blob/master/.ci/test.jl

Roger-luo avatar Nov 30 '21 16:11 Roger-luo

should be resolved by new structure where we no longer block releases waiting for julia releases

oxinabox avatar Jun 14 '23 02:06 oxinabox