mirror of
https://github.com/zdharma-continuum/zinit.git
synced 2026-09-10 07:36:38 -04:00
ci: synchronous zunit tests
This commit is contained in:
parent
d0b453907c
commit
88ae32e497
26
.github/workflows/tests.yaml
vendored
26
.github/workflows/tests.yaml
vendored
|
|
@ -68,12 +68,20 @@ jobs:
|
|||
git clone --depth 1 https://github.com/zdharma-continuum/zunit; cd ./zunit
|
||||
zsh -l -c './build.zsh' && sudo chmod u+x ./zunit && cp ./zunit "$HOME/.local/bin/"
|
||||
|
||||
- name: Run tests
|
||||
shell: zsh {0}
|
||||
run: |
|
||||
command -p ls -1 ./tests/*zunit \
|
||||
| parallel \
|
||||
--jobs=4 \
|
||||
--keep-order \
|
||||
--line-buffer \
|
||||
$HOME/.local/bin/zunit run
|
||||
- name: "annexes"
|
||||
run: zunit run tests/annexes.zunit
|
||||
|
||||
- name: "commands"
|
||||
run: zunit run tests/commands.zunit
|
||||
|
||||
- name: "gh-r"
|
||||
run: zunit run --fail-fast --verbose tests/gh-r.zunit
|
||||
|
||||
- name: "ices"
|
||||
run: zunit run tests/ices.zunit
|
||||
|
||||
- name: "plugins"
|
||||
run: zunit run tests/plugins.zunit
|
||||
|
||||
- name: "snippets"
|
||||
run: zunit run tests/snippets.zunit
|
||||
|
|
|
|||
Loading…
Reference in a new issue