this time i just edited some ci, i dont even think that i can fix
anything
This commit is contained in:
parent
7d1e554d43
commit
3887a5a87d
2 changed files with 12 additions and 21 deletions
28
.github/workflows/tests.yml
vendored
28
.github/workflows/tests.yml
vendored
|
|
@ -12,7 +12,7 @@ jobs:
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
os: [ubuntu-latest]
|
os: [ubuntu-latest]
|
||||||
version:
|
versions:
|
||||||
- stable
|
- stable
|
||||||
- nightly
|
- nightly
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
|
|
@ -32,29 +32,15 @@ jobs:
|
||||||
check-latest: false
|
check-latest: false
|
||||||
|
|
||||||
- name: Install Neovim
|
- name: Install Neovim
|
||||||
shell: bash
|
uses: rhysd/action-setup-vim@v1
|
||||||
run: |
|
|
||||||
mkdir -p /tmp/nvim
|
|
||||||
wget -q https://github.com/neovim/neovim/releases/download/${{ matrix.version }}/nvim-linux-x86_64.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: Show Neovim version
|
|
||||||
run: nvim --version
|
|
||||||
|
|
||||||
- name: Cache .tests
|
|
||||||
uses: actions/cache@v4
|
|
||||||
with:
|
with:
|
||||||
path: |
|
neovim: true
|
||||||
${{ github.workspace }}/.tests
|
version: ${{ matrix.versions }}
|
||||||
~/.cache/go-build
|
|
||||||
~/go/pkg/mod
|
|
||||||
key: ${{ runner.os }}-tests-${{ hashFiles('${{ github.workspace }}/.tests') }}
|
|
||||||
|
|
||||||
- name: Install Go bins
|
- name: Install Go bins
|
||||||
run: nvim --headless -u "./scripts/minimal_init.lua" -c "GoInstallDeps" -c "qa!"
|
run: |
|
||||||
|
nvim --version
|
||||||
|
task ci:install-deps
|
||||||
|
|
||||||
- name: Run Tests
|
- name: Run Tests
|
||||||
run: |
|
run: |
|
||||||
|
|
|
||||||
|
|
@ -34,6 +34,11 @@ tasks:
|
||||||
-u ./scripts/minimal_init.lua \
|
-u ./scripts/minimal_init.lua \
|
||||||
-c "lua MiniTest.run()"
|
-c "lua MiniTest.run()"
|
||||||
|
|
||||||
|
ci:install-deps:
|
||||||
|
desc: install dependencies for CI
|
||||||
|
cmds:
|
||||||
|
- nvim --headless -u "./scripts/minimal_init.lua" -c "GoInstallDeps" -c "qa!"
|
||||||
|
|
||||||
docgen:
|
docgen:
|
||||||
desc: generate vimhelp
|
desc: generate vimhelp
|
||||||
cmds:
|
cmds:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue