refactor(extra): extra files now based on spec and extra names #55
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Tests | |
on: | |
pull_request: ~ | |
push: | |
paths: | |
- "lua/*" | |
- "test/*" | |
branches: | |
- main | |
jobs: | |
build: | |
name: Run tests | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install Neovim | |
uses: MunifTanjim/setup-neovim-action@v1 | |
with: | |
tag: nightly | |
- name: Install plenary | |
run: | | |
git clone --depth 1 https://github.com/nvim-lua/plenary.nvim test/plenary | |
- name: Run tests | |
run: | | |
nvim --version | |
[ ! -d test ] && exit 0 | |
nvim --headless --noplugin -u test/minimal_init.vim -c "PlenaryBustedDirectory ./test/nightfox { minimal_init = './test/minimal_init.vim', sequential = true}" |