Skip to content

Commit

Permalink
fix: update gh-r unit tests
Browse files Browse the repository at this point in the history
Signed-off-by: Vladislav Doster <[email protected]>
  • Loading branch information
vladdoster committed Sep 30, 2022
1 parent 5be3b2a commit f92e7e1
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 12 deletions.
1 change: 1 addition & 0 deletions .github/workflows/linting.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ jobs:

- name: install dependencies
run: |
[[ -d /home/linuxbrew ]] && eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
brew install shellcheck shfmt zsh
pip3 install --user linkify-it-py mdformat mdformat-config mdformat-gfm mdformat-shfmt mdformat-tables mdformat-toc
Expand Down
14 changes: 8 additions & 6 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,18 +40,20 @@ jobs:
- name: "upgrade glibc"
if: runner.os == 'Linux'
run: |
sudo apt-get clean && sudo apt-get update
sudo apt-get clean
sudo apt-get update
sudo apt-get install \
build-essential subversion \
gcc gcc-multilib \
glibc-source libc6 libc6-dev \
musl musl-dev musl-tools
build-essential gcc gcc-multilib glibc-source \
libc6 libc6-dev \
musl musl-dev musl-tools \
subversion
- name: "install ncurses, svn, unzip, and zsh"
run: |
[[ -d /home/linuxbrew ]] && eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
echo "eval $(brew shellenv)" > .profile
brew install ncurses svn unzip zsh
exec bash
echo "eval $(brew shellenv)" > .profile
- name: "install revolver"
run: |
Expand Down
12 changes: 6 additions & 6 deletions tests/gh-r.zunit
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
@test 'alist' { # A file list program that supports multiple storage, powered by Gin and React
run zinit lbin'!* -> alist' for @alist-org/alist; assert $state equals 0
local alist="$ZBIN/alist"; assert "$alist" is_executable
$alist --version; assert $state equals 0
$alist version; assert $state equals 0
}
@test 'asciigraph' { # Go package to make lightweight ASCII line graph ╭┈╯ in command line apps with no other dependencies.
run zinit for @guptarohit/asciigraph; assert $state equals 0
Expand All @@ -31,11 +31,11 @@
local assh="$ZBIN/assh"; assert "$assh" is_executable
$assh --version; assert $state equals 0
}
@test 'atmos' { # Universal Tool for DevOps and Cloud Automation (works with terraform, helm, helmfile, etc)
run zinit for lbin'!* -> atmos' @cloudposse/atmos; assert $state equals 0
local atmos="$ZBIN/atmos"; assert "$atmos" is_executable
$atmos version; assert $state equals 0
}
# @test 'atmos' { # Universal Tool for DevOps and Cloud Automation (works with terraform, helm, helmfile, etc)
# run zinit for lbin'!* -> atmos' @cloudposse/atmos; assert $state equals 0
# local atmos="$ZBIN/atmos"; assert "$atmos" is_executable
# $atmos version; assert $state equals 0
# }
@test 'atuin' { # Magical shell history
run zinit for @ellie/atuin; assert $state equals 0
local atuin="$ZBIN/atuin"; assert "$atuin" is_executable
Expand Down

0 comments on commit f92e7e1

Please sign in to comment.