izelnakri / qunitx-cli

CI browser runner for qunitx test framework
MIT License
3 stars 0 forks source link

demo of this working in the browser with node? #7

Open NullVoxPopuli opened 1 year ago

NullVoxPopuli commented 1 year ago

Copying from here: https://github.com/izelnakri/qunitx/issues/79

I tried qunitx a couple times see errors, and haven't been able to get anything to work. Is there a sample repo that demonstrates this working in the browser uning node as the launching environment?

Thanks!

izelnakri commented 1 year ago

I'll distribute qunitx-cli as a statically compiled binary on nixpkgs and AUR once I'm done with improving the test suite and potentially remove some dependencies. In the meantime I provide Dockerfile and flake.nix which specifies system-level dependencies and CI runs these deterministic environments.

Entrypoint of the cli is here: https://github.com/izelnakri/qunitx-cli/blob/main/cli.js#L1

Actually since I removed the old node.js mode of qunitx-cli we might be able to remove the --loader argument from the shebang. I haven't done the change yet because I want to finalize the test suite first.

NullVoxPopuli commented 1 year ago

Dockerfile and flake.nix

these are not tools I use :sweat_smile:

haven't done the change yet

I eagerly await!