install.yaml 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. name: install
  2. on:
  3. push:
  4. branches: ["**"]
  5. pull_request:
  6. branches:
  7. - "master"
  8. - "rolling"
  9. jobs:
  10. unixish:
  11. name: ${{ matrix.os }} ${{ matrix.runner }}
  12. strategy:
  13. fail-fast: false
  14. matrix:
  15. include:
  16. - runner: ubuntu-20.04
  17. os: linux
  18. - runner: macos-10.15
  19. os: osx
  20. runs-on: ${{ matrix.runner }}
  21. if: github.event.pull_request.draft == false
  22. steps:
  23. - uses: actions/checkout@v2
  24. - name: Install neovim binary
  25. run: |
  26. echo "$HOME/.local/bin" >> $GITHUB_PATH
  27. bash ./utils/installer/install-neovim-from-release
  28. - name: Install LunarVim
  29. timeout-minutes: 4
  30. run: |
  31. ./utils/installer/install.sh --local --no-install-dependencies
  32. - name: Run unit-tests
  33. # NOTE: make sure to adjust the timeout if you start adding a lot of tests
  34. timeout-minutes: 4
  35. run: make test
  36. # freebsd:
  37. # runs-on: macos-latest
  38. # if: github.event.pull_request.draft == false
  39. # continue-on-error: true # we don't support freebsd yet
  40. # name: "FreeBSD macos-latest"
  41. # steps:
  42. # - uses: actions/checkout@v2
  43. # - name: Install dependencies for FreeBSD
  44. # uses: vmactions/freebsd-vm@v0.1.5
  45. # with:
  46. # prepare: pkg install -y curl neovim
  47. # run: bash ./utils/installer/install.sh
  48. # - name: Test LunarVim PackerCompile
  49. # uses: vmactions/freebsd-vm@v0.1.5
  50. # with:
  51. # run: if nvim --headless +PackerCompile -c ':qall' 2>&1|grep -q 'Error'; then false; fi
  52. # - name: Test LunarVim Health
  53. # uses: vmactions/freebsd-vm@v0.1.5
  54. # with:
  55. # run: if nvim --headless +checkhealth -c ':qall' 2>&1|grep -q 'Error'; then false; fi