chore: run tests only on last stable release and on nightly
This commit is contained in:
parent
4f9d4695b1
commit
75f2c033fb
2 changed files with 9 additions and 23 deletions
30
.github/workflows/tests.yml
vendored
30
.github/workflows/tests.yml
vendored
|
|
@ -6,20 +6,9 @@ jobs:
|
|||
strategy:
|
||||
matrix:
|
||||
os: [ubuntu-latest]
|
||||
nvim_version:
|
||||
- nightly
|
||||
- v0.7.0
|
||||
- v0.7.2
|
||||
- v0.8.0
|
||||
- v0.8.1
|
||||
- v0.8.2
|
||||
- v0.8.3
|
||||
- v0.9.0
|
||||
- v0.9.1
|
||||
- v0.9.2
|
||||
- v0.9.4
|
||||
- v0.9.5
|
||||
version:
|
||||
- v0.10.0
|
||||
- nightly
|
||||
runs-on: ${{ matrix.os }}
|
||||
steps:
|
||||
- name: Install Task
|
||||
|
|
@ -30,16 +19,13 @@ jobs:
|
|||
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Install Neovim
|
||||
run: |
|
||||
mkdir -p /tmp/nvim
|
||||
wget -q https://github.com/neovim/neovim/releases/download/${{ matrix.nvim_version }}/nvim.appimage -O /tmp/nvim/nvim.appimage
|
||||
cd /tmp/nvim
|
||||
chmod a+x ./nvim.appimage
|
||||
./nvim.appimage --appimage-extract
|
||||
echo "/tmp/nvim/squashfs-root/usr/bin/" >> $GITHUB_PATH
|
||||
- name: Install NeoVim
|
||||
uses: rhysd/action-setup-vim@v1
|
||||
with:
|
||||
neovim: true
|
||||
version: ${{ matrix.version }}
|
||||
|
||||
- name: Run Tests
|
||||
run: |
|
||||
nvim --version
|
||||
task test
|
||||
task tests
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue