Skip to content

Commit

Permalink
fix: triggers and brew ncurses installationrun for unit tests
Browse files Browse the repository at this point in the history
Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
  • Loading branch information
vladdoster committed May 12, 2022
1 parent 4d4cb13 commit 49e28bf
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 19 deletions.
33 changes: 15 additions & 18 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

# env:
# TERM: xterm
env:
TERM: xterm-256color

on:
pull_request:
Expand All @@ -15,6 +15,7 @@ on:
- 'tests/**'
- 'share/**'
- 'zinit*.zsh'
- '.github/workflows/tests.yaml'
push:
branches:
- main
Expand All @@ -38,35 +39,31 @@ jobs:

- name: "install ncurses, svn, unzip, and zsh"
run: |
brew install ncurses, svn, unzip, and zsh
brew install ncurses svn unzip zsh
exec bash
echo "eval $(brew shellenv)" > .profile
- name: "install revolver"
run: |
git clone https://github.com/molovo/revolver revolver
chmod u+x revolver/revolver
mv revolver/revolver /usr/local/bin
git clone --depth 1 https://github.com/molovo/revolver revolver
chmod u+x revolver/revolver; mv revolver/revolver /usr/local/bin;
- name: "install zunit"
run: |
git clone https://github.com/zdharma-continuum/zunit
cd ./zunit
zsh -c -l './build.zsh'
chmod u+x ./zunit
cp ./zunit /usr/local/bin
git clone --depth 1 https://github.com/zdharma-continuum/zunit; cd ./zunit
zsh -c -l './build.zsh' && cp ./zunit /usr/local/bin && chmod u+x ./zunit
- name: 'clean up zunit & revolver'
run: rm -rf revolver zunit

- name: "annexes"
run: zunit run tests/annexes.zunit
# - name: "annexes"
# run: zunit run tests/annexes.zunit

- name: "gh-r"
run: zunit run tests/gh-r.zunit

- name: "plugins"
run: zunit run tests/plugins.zunit

- name: "snippets"
run: zunit run tests/snippets.zunit
# - name: "plugins"
# run: zunit run tests/plugins.zunit
#
# - name: "snippets"
# run: zunit run tests/snippets.zunit
2 changes: 1 addition & 1 deletion .zunit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ directories:
tests: tests
output: tests/_output
support: tests/_support
fail_fast: true
fail_fast: false
verbose: true

0 comments on commit 49e28bf

Please sign in to comment.