Skip to content

Commit

Permalink
Oh, fun, apparently we still do rely on sequential execution :/
Browse files Browse the repository at this point in the history
Revert "This doesn't do anything anymore."

This reverts commit 8f5941e.
  • Loading branch information
Julian committed Oct 15, 2024
1 parent 8f5941e commit d0ded74
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ jobs:
- uses: extractions/setup-just@v2
- name: Run tests
run: just test
env:
TEST_SEQUENTIAL: 1

release:
if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags/v')
Expand Down
2 changes: 1 addition & 1 deletion justfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ test: _rebuild-test-fixtures _clone-test-dependencies

# Run the test suite without rebuilding or recloning any dependencies.
retest *test_files=spec:
nvim --headless -u {{ init_lua }} -c 'lua require("inanis").run{ specs = vim.split("{{ test_files }}", " "), minimal_init = "{{ init_lua }}" }'
nvim --headless -u {{ init_lua }} -c 'lua require("inanis").run{ specs = vim.split("{{ test_files }}", " "), minimal_init = "{{ init_lua }}", sequential = vim.env.TEST_SEQUENTIAL ~= nil }'

# Run an instance of neovim with the same minimal init used to run tests.
nvim setup_table='{}' *ARGS='':
Expand Down

0 comments on commit d0ded74

Please sign in to comment.