diff options
author | kylo252 <[email protected]> | 2021-09-13 11:10:07 +0200 |
---|---|---|
committer | GitHub <[email protected]> | 2021-09-13 11:10:07 +0200 |
commit | fcb764cd638ddffbe96228c6b3b1b8e0d40dbb23 (patch) | |
tree | bb24c5a66ac390fff0d8f86bd1c07bd47f43b371 /.github/workflows | |
parent | e93c6abab7d9fb3885cb53310d840204ff6ffc01 (diff) |
refactor(ci): better path handling (#1531)
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/install.yaml | 19 |
1 files changed, 6 insertions, 13 deletions
diff --git a/.github/workflows/install.yaml b/.github/workflows/install.yaml index 3e529dc6..6d84f79c 100644 --- a/.github/workflows/install.yaml +++ b/.github/workflows/install.yaml @@ -23,16 +23,9 @@ jobs: steps: - uses: actions/checkout@v2 - # sha256sum is not available by default - - name: Installl dependencies for OSX - if: matrix.os == 'osx' - run: | - echo "HOMEBREW_NO_AUTO_UPDATE=1" >> $GITHUB_ENV - echo "$HOME/.local/bin" >> $GITHUB_PATH - brew install coreutils - - name: Install neovim binary run: | + echo "$HOME/.local/bin" >> $GITHUB_PATH bash ./utils/installer/install-neovim-from-release - name: Install LunarVim @@ -43,16 +36,16 @@ jobs: ln -s "$PWD"/* "$HOME"/.local/share/lunarvim/lvim/. bash ./utils/installer/install.sh - - name: Run unit-tests - # NOTE: make sure to adjust the timeout if you start adding a lot of tests - timeout-minutes: 4 - run: make test - - name: Test LunarVim PackerCompile run: if "$HOME"/.local/bin/lvim --headless +PackerCompile -c ':qall' 2>&1|grep -q 'Error'; then false; fi - name: Test LunarVim Health run: if "$HOME"/.local/bin/lvim --headless +checkhealth -c ':qall' 2>&1|grep -q 'Error'; then false; fi + + - name: Run unit-tests + # NOTE: make sure to adjust the timeout if you start adding a lot of tests + timeout-minutes: 4 + run: make test # freebsd: # runs-on: macos-latest # if: github.event.pull_request.draft == false |