install.yaml 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. name: install
  2. on:
  3. pull_request:
  4. branches:
  5. - "master"
  6. - "rolling"
  7. jobs:
  8. unixish:
  9. name: ${{ matrix.os }} ${{ matrix.runner }}
  10. strategy:
  11. fail-fast: false
  12. matrix:
  13. include:
  14. - runner: ubuntu-20.04
  15. os: linux
  16. - runner: macos-10.15
  17. os: osx
  18. runs-on: ${{ matrix.runner }}
  19. if: github.event.pull_request.draft == false
  20. steps:
  21. - uses: actions/checkout@v2
  22. - name: Install neovim binary
  23. run: |
  24. echo "$HOME/.local/bin" >> $GITHUB_PATH
  25. bash ./utils/installer/install-neovim-from-release
  26. - name: Install LunarVim
  27. timeout-minutes: 4
  28. run: |
  29. ./utils/installer/install.sh --local --no-install-dependencies
  30. - name: Run unit-tests
  31. # NOTE: make sure to adjust the timeout if you start adding a lot of tests
  32. timeout-minutes: 4
  33. run: make test
  34. windows:
  35. name: "windows-latest"
  36. runs-on: windows-latest
  37. if: github.event.pull_request.draft == false
  38. continue-on-error: true # windows support is still experimental
  39. defaults:
  40. run:
  41. shell: pwsh
  42. steps:
  43. # it's not currently possbile to run tests on windows, see nvim-lua/plenary.nvim#255
  44. - uses: actions/checkout@v2
  45. - name: Install neovim binary
  46. uses: rhysd/action-setup-vim@v1
  47. with:
  48. neovim: true
  49. version: v0.6.1
  50. - name: Install LunarVim
  51. timeout-minutes: 4
  52. run: |
  53. echo "$HOME/.local/bin" >> $GITHUB_PATH
  54. pwsh.exe -NoLogo -ExecutionPolicy Bypass -NonInteractive -Command "./utils/installer/install.ps1 --local"