Skip to content

Commit

Permalink
tests: add tests.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mrcjkb committed Jun 18, 2024
1 parent e205c9a commit 52864be
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 0 deletions.
1 change: 1 addition & 0 deletions .busted
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ return {
_all = {
coverage = false,
lpath = "lua/?.lua;lua/?/?.lua",
lua = "~/.luarocks/bin/nlua",
},
default = {
verbose = true
Expand Down
22 changes: 22 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
name: Run tests
on:
pull_request: ~
push:
branches:
- master

jobs:
build:
name: Run tests
runs-on: ubuntu-latest
strategy:
matrix:
neovim_version: ['nightly']

steps:
- uses: actions/checkout@v4
- name: Run tests
uses: nvim-neorocks/nvim-busted-action@v1
with:
nvim_version: ${{ matrix.neovim_version }}
1 change: 1 addition & 0 deletions luarocks-tag-release-scm-1.rockspec
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ dependencies = {
test_dependencies = {
'dkjson',
'luafilesystem',
'nlua',
}

source = {
Expand Down

0 comments on commit 52864be

Please sign in to comment.