Skip to content

feat: add column text-objects (il, al) #125

feat: add column text-objects (il, al)

feat: add column text-objects (il, al) #125

Workflow file for this run

name: CI
on:
pull_request:
push:
branches:
- main
tags:
- "v*"
jobs:
test:
name: Test (Neovim ${{ matrix.neovim }})
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
neovim: [stable, nightly]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Neovim
uses: rhysd/action-setup-vim@v1
with:
neovim: true
version: ${{ matrix.neovim }}
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: "3.x"
- name: Install tir-csv
run: |
pip install tir-csv
- name: Install tir-gfm-lite
run: |
pip install tir-gfm-lite
- name: Install tir-pukiwiki
run: |
pip install tir-pukiwiki
- name: Install LuaRocks & LuaCov
run: |
sudo apt-get update
sudo apt-get install -y luarocks
luarocks install --local luacov
luarocks install --local luacov-html
eval "$(luarocks path --bin)"
- name: Show versions
run: |
tir-csv --version
tir-gfm-lite --version
tir-pukiwiki --version
nvim --version
lua -v || true
- name: Run tests
run: |
chmod +x tests/run.sh
tests/run.sh
- name: Upload diff artifacts (on failure)
if: failure()
uses: actions/upload-artifact@v4
with:
name: test-diffs-${{ matrix.neovim }}
path: tests/cases/**/diff-*.txt
- name: Generate coverage report
run: |
chmod +x tests/coverage.sh
tests/coverage.sh
- name: Upload coverage report
uses: actions/upload-artifact@v4
with:
name: coverage-${{ matrix.neovim }}
path: luacov.report.html
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
with:
files: ./luacov.report.out
fail_ci_if_error: true
verbose: true