fix(ci): revamp
This commit is contained in:
parent
6c09b9ae99
commit
2e1280e17c
5 changed files with 30 additions and 20 deletions
11
.busted
11
.busted
|
|
@ -1,8 +1,13 @@
|
|||
return {
|
||||
_all = {
|
||||
lua = 'nlua',
|
||||
coverage = false,
|
||||
lpath = 'lua/?.lua;lua/?/init.lua',
|
||||
helper = 'tests/minimal.lua',
|
||||
lua = 'nlua',
|
||||
},
|
||||
default = {
|
||||
verbose = true,
|
||||
},
|
||||
tests = {
|
||||
verbose = true,
|
||||
},
|
||||
default = { verbose = true },
|
||||
}
|
||||
|
|
|
|||
13
.github/workflows/ci.yml
vendored
13
.github/workflows/ci.yml
vendored
|
|
@ -64,16 +64,3 @@ jobs:
|
|||
run: uv tool install ruff
|
||||
- name: Lint Python files with ruff
|
||||
run: ruff check scrapers/
|
||||
|
||||
test:
|
||||
name: Tests
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
nvim_version: [stable, nightly]
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Run tests
|
||||
uses: nvim-neorocks/nvim-busted-action@v1
|
||||
with:
|
||||
nvim_version: ${{ matrix.nvim_version }}
|
||||
|
|
|
|||
20
.github/workflows/test.yml
vendored
Normal file
20
.github/workflows/test.yml
vendored
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
name: Run tests
|
||||
on:
|
||||
pull_request: ~
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
build:
|
||||
name: Run tests
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
neovim_version: ['nightly', 'stable']
|
||||
|
||||
steps:
|
||||
- name: Run tests
|
||||
uses: nvim-neorocks/nvim-busted-action@v1
|
||||
with:
|
||||
nvim_version: ${{ matrix.neovim_version }}
|
||||
|
|
@ -1,4 +0,0 @@
|
|||
lua_version = "5.1"
|
||||
variables = {
|
||||
CC = "gcc"
|
||||
}
|
||||
|
|
@ -1 +1,3 @@
|
|||
std = "lua51+vim"
|
||||
|
||||
exclude = ["spec"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue