nvim-orgmode / nvim-orgmode/orgmode
facilitate running the testuite in a sandbox
Nobody has claimed this yet.
- Dominant language
- Lua
- Stars
- 3.9k
- Forks
- 190
- Avg merge
- 2d 13h
- Merged PRs (30d)
- 7
Description
hi,
I managed to run the testsuite (minus a few tests) for my linux distribution nixos see https://github.com/NixOS/nixpkgs/pull/483694.
The current orgmode test procedure setups the environment (install treesitter grammars and downloads plenary) before running the tests and it's not possible to run separately both. Which is an issue for nix (but certainly other distributions as well) where the build occurs in a sandbox without internet access.
It would be nice to differente between the two so that I can run a make test-with-environment-prepared instead of
nvim --headless -i NONE \
-u test/minimal_init.vim --cmd "set rtp+=${vimPlugins.plenary-nvim}" \
-c "PlenaryBustedDirectory tests { sequential = true, minimal_init = './tests/minimal_init.lua' }"
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the current orgmode test procedure and the make target that prepares the environment before running the command shown in the issue. Separate environment preparation from test execution so a prepared sandbox can run the suite without internet access, then verify both paths with the existing tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- lua, nixos
- Domain
- build-system, testing-qa
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100