Closed nojaf closed 8 months ago
It is possible that it goes undected because I forgot to run the Fable.Tests.Adaptive
tests as part of the JavaScript tests suites.
I would first check if running the tests catch the problem of that specific project. And depending on the answer add or not a dotnet restore
instruction to either the CI or build script.
Running dotnet restore is typically a requirement to get IntelliSense in the IDE. Your IDE will run it for you if you don't do it. Contributors shouldn't have to run any tests before opening the solution in their IDE, imho.
Sure, but running the tests should trigger the restore
mechanism which should catch the fact that this project doesn't restore. So I don't think I am not totally off.
We can add a dotnet restore
actions if we want to be explicit about it. This is just that's it is a first time for me to have that has part of the CI. Has in general it is checked indirectly by running tests, building the package in the CI etc.
In a way, this was also addressed in https://github.com/fable-compiler/Fable/pull/3671. As the solution is built in the analyzer job.
I'm not able to run
dotnet restore Fable.sln
on the latest main:I believe this goes undetected as the CI jobs don't restore any solution file. I do find this rather annoying, would you accept a PR with a simple job that builds both solutions?