diff options
author | kylo252 <[email protected]> | 2022-07-31 14:28:43 +0200 |
---|---|---|
committer | kylo252 <[email protected]> | 2022-07-31 14:28:43 +0200 |
commit | 6fbefdacd35f03b8146490613c54e7865d06a77f (patch) | |
tree | 70e378c86c411b4c959e7f04851263fc96ad752e /.github | |
parent | b04aefbb79670b115f4f363906d6d294b3d0a2a3 (diff) | |
parent | dec21bbab6cf9102e236806e20273d08f32f8716 (diff) |
Merge branch 'rolling'
Diffstat (limited to '.github')
-rw-r--r-- | .github/ISSUE_TEMPLATE/general-issue-form.yaml | 2 | ||||
-rw-r--r-- | .github/workflows/install.yaml | 33 |
2 files changed, 28 insertions, 7 deletions
diff --git a/.github/ISSUE_TEMPLATE/general-issue-form.yaml b/.github/ISSUE_TEMPLATE/general-issue-form.yaml index be1dce81..ea8c9cba 100644 --- a/.github/ISSUE_TEMPLATE/general-issue-form.yaml +++ b/.github/ISSUE_TEMPLATE/general-issue-form.yaml @@ -33,7 +33,7 @@ body: - type: input id: nvim-version attributes: - label: Neovim version (>= 0.7) + label: Neovim version (>= 0.7.2) description: "Output of `nvim --version`" placeholder: | NVIM v0.8.0-dev+199-g2875d45e7 diff --git a/.github/workflows/install.yaml b/.github/workflows/install.yaml index 51336ed9..e21607ab 100644 --- a/.github/workflows/install.yaml +++ b/.github/workflows/install.yaml @@ -6,6 +6,7 @@ on: - "master" - "rolling" paths: + - '.github/workflows/**' - 'lua/**' - 'snapshots/**' - 'tests/**' @@ -13,33 +14,53 @@ on: jobs: unixish: - name: ${{ matrix.os }} ${{ matrix.runner }} + name: ${{ matrix.os }} ${{ matrix.runner }} (${{ matrix.neovim }}) strategy: fail-fast: false matrix: include: - - runner: ubuntu-20.04 + - runner: ubuntu-latest os: linux - - runner: macos-10.15 + neovim: v0.7.0 + - runner: macos-latest os: osx + neovim: v0.7.0 + - runner: ubuntu-22.04 + os: linux + neovim: nightly + - runner: macos-12 + os: osx + neovim: nightly runs-on: ${{ matrix.runner }} steps: - uses: actions/checkout@v2 - - name: Install neovim binary + - name: Install neovim binary from release + env: + RELEASE_VER: ${{ matrix.neovim }} run: | echo "$HOME/.local/bin" >> $GITHUB_PATH bash ./utils/installer/install-neovim-from-release - name: Install LunarVim timeout-minutes: 4 + env: + LV_BRANCH: ${{ github.head_ref || github.ref_name }} + LV_REMOTE: ${{ github.event.pull_request.head.repo.full_name || github.repository }} + LUNARVIM_LOG_LEVEL: "debug" run: | - ./utils/installer/install.sh --local --no-install-dependencies + export PATH="$HOME/.local/bin:$PATH" + + installer_url="https://raw.githubusercontent.com/${LV_REMOTE}/${LV_BRANCH}/utils/installer/install.sh" + curl -LSsO "$installer_url" + bash ./install.sh --no-install-dependencies - 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 + run: | + nvim --version + make test windows: name: "windows-latest" |