Problem: CI used a single tests.yml for linting, typechecking, and testing. No conditional path filtering, no markdown format check, and a stale mirror_upstream_prs.yml and duplicate luarocks.yml existed. Solution: replace tests.yml with quality.yaml (stylua, selene, lua-typecheck, prettier with dorny/paths-filter) and test.yaml (nvim-busted, stable+nightly matrix). Update luarocks.yaml to reference quality.yaml. Delete mirror_upstream_prs.yml and duplicate luarocks.yml. Fix automation workflow sender check.
22 lines
403 B
YAML
22 lines
403 B
YAML
name: test
|
|
|
|
on:
|
|
pull_request:
|
|
branches: [main]
|
|
push:
|
|
branches: [main]
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
nvim: [stable, nightly]
|
|
name: Test (Neovim ${{ matrix.nvim }})
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- uses: nvim-neorocks/nvim-busted-action@v1
|
|
with:
|
|
nvim_version: ${{ matrix.nvim }}
|