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:
|
||||
matrix:
|
||||
os: [ubuntu-latest]
|
||||
version:
|
||||
versions:
|
||||
- stable
|
||||
- nightly
|
||||
runs-on: ${{ matrix.os }}
|
||||
|
|
@ -32,29 +32,15 @@ jobs:
|
|||
check-latest: false
|
||||
|
||||
- name: Install Neovim
|
||||
shell: bash
|
||||
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
|
||||
uses: rhysd/action-setup-vim@v1
|
||||
with:
|
||||
path: |
|
||||
${{ github.workspace }}/.tests
|
||||
~/.cache/go-build
|
||||
~/go/pkg/mod
|
||||
key: ${{ runner.os }}-tests-${{ hashFiles('${{ github.workspace }}/.tests') }}
|
||||
neovim: true
|
||||
version: ${{ matrix.versions }}
|
||||
|
||||
- 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
|
||||
run: |
|
||||
|
|
|
|||
|
|
@ -34,6 +34,11 @@ tasks:
|
|||
-u ./scripts/minimal_init.lua \
|
||||
-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:
|
||||
desc: generate vimhelp
|
||||
cmds:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue