Feat: Add Basic Lua Test Suite (#115)
This MR adds a Lua test suite to the project, run via busted, and introduces tests for a number of the utility functions. Subsequent work will have to be done to test functions that use the `vim.api` scope and external packages to the plugin.
This commit is contained in:
committed by
GitHub
parent
1abc33d149
commit
88b9196a2e
15
.github/workflows/lua-tests.yaml
vendored
Normal file
15
.github/workflows/lua-tests.yaml
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
name: Lua Tests
|
||||
on:
|
||||
pull_request:
|
||||
branches:
|
||||
- main
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
- name: Run Busted
|
||||
uses: lunarmodules/busted@v2.2.0
|
||||
# with:
|
||||
# args: --run=api
|
||||
Reference in New Issue
Block a user