From a8510cd23fa5d0c4fe90be553673413f87500855 Mon Sep 17 00:00:00 2001 From: Julien Vincent Date: Thu, 21 Sep 2023 00:12:28 +0100 Subject: [PATCH 1/2] Configure to run tests against stable and nightly --- .github/workflows/test.yml | 6 ++++++ Justfile | 6 +++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 4ede0d0..0c689b9 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -9,10 +9,16 @@ jobs: test: name: Test runs-on: ubuntu-20.04 + strategy: + matrix: + channel: [stable, nightly] steps: - uses: actions/checkout@v2 - uses: extractions/setup-just@v1 + - name: Prepare ${{ matrix.channel }} + run: just prepare ${{ matrix.channel }} + - name: Run Tests run: just test diff --git a/Justfile b/Justfile index baea1b4..210f975 100644 --- a/Justfile +++ b/Justfile @@ -1,16 +1,16 @@ -prepare: +prepare channel="nightly": #!/usr/bin/env bash test -d .build/nvim || { mkdir -p ./.build/nvim os=$(uname) if [[ "$os" == "Darwin" ]]; then - curl -L https://github.com/neovim/neovim/releases/download/nightly/nvim-macos.tar.gz > ./.build/nvim-macos.tar.gz + curl -L https://github.com/neovim/neovim/releases/download/{{ channel }}/nvim-macos.tar.gz > ./.build/nvim-macos.tar.gz xattr -c ./.build/nvim-macos.tar.gz tar xzf ./.build/nvim-macos.tar.gz -C ./.build/nvim --strip-components=1 rm ./.build/nvim-macos.tar.gz elif [[ "$os" == "Linux" ]]; then - curl -L https://github.com/neovim/neovim/releases/download/nightly/nvim-linux64.tar.gz > ./.build/nvim-linux64.tar.gz + curl -L https://github.com/neovim/neovim/releases/download/{{ channel }}/nvim-linux64.tar.gz > ./.build/nvim-linux64.tar.gz tar xzf ./.build/nvim-linux64.tar.gz -C ./.build/nvim --strip-components=1 rm ./.build/nvim-linux64.tar.gz else From fc2415873e4017c8370afb32914fcbf1955527a2 Mon Sep 17 00:00:00 2001 From: Julien Vincent Date: Fri, 22 Sep 2023 16:32:57 +0100 Subject: [PATCH 2/2] Disable nightly temporarilly until fixed --- .github/workflows/test.yml | 2 +- Justfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 0c689b9..0af42b2 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-20.04 strategy: matrix: - channel: [stable, nightly] + channel: [stable] #, nightly] steps: - uses: actions/checkout@v2 diff --git a/Justfile b/Justfile index 210f975..982d493 100644 --- a/Justfile +++ b/Justfile @@ -1,4 +1,4 @@ -prepare channel="nightly": +prepare channel="stable": #!/usr/bin/env bash test -d .build/nvim || { mkdir -p ./.build/nvim