Skip to content

ci(deps): bump actions/setup-python from 6 to 7 #333

ci(deps): bump actions/setup-python from 6 to 7

ci(deps): bump actions/setup-python from 6 to 7 #333

Workflow file for this run

name: CI
on: [ push, pull_request ]
jobs:
lint:
name: Vint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/setup-python@v7
- name: Install
run: |
pip install vim-vint
pip install pre-commit
- name: Run Vint
run: |
pre-commit run --all-files || { git diff --color=always && exit 1; }
unit-tests:
name: Unit Tests
strategy:
matrix:
os: [ ubuntu-latest ]
include:
- os: ubuntu-latest
NEOVIM_CONFIG_PATH: $HOME/.config/nvim
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v6
- name: Setup Vim
uses: rhysd/action-setup-vim@v1
with:
neovim: true
- name: Ensure plugins directory exists
env:
NEOVIM_CONFIG_PATH: '${{ matrix.NEOVIM_CONFIG_PATH }}'
run: |
mkdir -p $NEOVIM_CONFIG_PATH/plugins
- name: Create a fake code-minimap executable
# Necessary for minimap.vim to start up
run: |
mkdir -p "$HOME/bin"
ln -s /bin/echo "$HOME/bin/code-minimap"
echo "$HOME/bin" >> $GITHUB_PATH
- name: Checkout Testify
run: |
git clone --depth 1 https://github.com/dhruvasagar/vim-testify ${{ matrix.NEOVIM_CONFIG_PATH }}/plugins/vim-testify
env:
NEOVIM_CONFIG_PATH: '${{ matrix.NEOVIM_CONFIG_PATH }}'
shell: bash
- name: Run Unit Tests
run: |
echo "not empty file" > testfile
nvim -c "set rtp+=$NEOVIM_CONFIG_PATH/plugins/vim-testify" -c "set rtp+=./" -S $NEOVIM_CONFIG_PATH/plugins/vim-testify/plugin/testify.vim -S ./plugin/minimap.vim +TestifySuite testfile
shell: bash
env:
NEOVIM_CONFIG_PATH: '${{ matrix.NEOVIM_CONFIG_PATH }}'