cleanup
This commit is contained in:
parent
96ce5c4023
commit
7c03ae048b
|
@ -1,24 +0,0 @@
|
|||
---
|
||||
name: Lint Code Base
|
||||
on:
|
||||
pull_request: ~
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
|
||||
jobs:
|
||||
build:
|
||||
name: Lint Code Base
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout Code
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Lint Code Base
|
||||
uses: github/super-linter/slim@v4
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
LINTER_RULES_PATH: /
|
||||
VALIDATE_JSCPD: false
|
||||
VALIDATE_PYTHON_BLACK: false
|
|
@ -1,39 +0,0 @@
|
|||
---
|
||||
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@v3
|
||||
- run: date +%F > todays-date
|
||||
- name: Restore cache for today's nightly.
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: _neovim
|
||||
key: ${{ runner.os }}-x64-${{ hashFiles('todays-date') }}
|
||||
|
||||
- name: Prepare plenary
|
||||
run: |
|
||||
git clone --depth 1 https://github.com/nvim-lua/plenary.nvim ~/.local/share/nvim/site/pack/vendor/start/plenary.nvim
|
||||
ln -s "$(pwd)" ~/.local/share/nvim/site/pack/vendor/start
|
||||
|
||||
- name: Setup neovim
|
||||
uses: rhysd/action-setup-vim@v1
|
||||
with:
|
||||
neovim: true
|
||||
version: ${{ matrix.neovim_version }}
|
||||
|
||||
- name: Run tests
|
||||
run: |
|
||||
nvim --headless --noplugin -u tests/minimal.vim -c "PlenaryBustedDirectory tests/ {minimal_init = 'tests/minimal.vim'}"
|
29
README.md
29
README.md
|
@ -1,35 +1,8 @@
|
|||
# transformer.nvim
|
||||
# anthropic.nvim
|
||||
|
||||
## TODO
|
||||
|
||||
- [X] Get basic api calls working
|
||||
- [ ] Add tests for api functions
|
||||
- [ ] Set up GUI
|
||||
- [ ] Set up in-place replacement functionality
|
||||
- [ ] Set up prompt preconfiguration
|
||||
- [ ] Set up chat saving
|
||||
|
||||
### Misc
|
||||
|
||||
- [ ] Rework the spinner functions
|
||||
|
||||
## Development
|
||||
|
||||
### Run tests
|
||||
|
||||
Running tests requires [plenary.nvim][plenary] to be checked out in the parent
|
||||
directory of *this* repository. You can then run:
|
||||
|
||||
```bash
|
||||
nvim --headless --noplugin -u tests/minimal.vim \
|
||||
-c "PlenaryBustedDirectory tests/ {minimal_init = 'tests/minimal.vim'}"
|
||||
```
|
||||
|
||||
Or if you want to run a single test file:
|
||||
|
||||
```bash
|
||||
nvim --headless --noplugin -u tests/minimal.vim \
|
||||
-c "PlenaryBustedDirectory tests/path_to_file.lua {minimal_init = 'tests/minimal.vim'}"
|
||||
```
|
||||
|
||||
[plenary]: https://github.com/nvim-lua/plenary.nvim
|
||||
|
|
|
@ -1,5 +0,0 @@
|
|||
describe('Test example', function()
|
||||
it('Test can access vim namespace', function()
|
||||
assert.are.same(vim.trim(' a '), 'a')
|
||||
end)
|
||||
end)
|
|
@ -1,3 +0,0 @@
|
|||
set rtp+=.
|
||||
set rtp+=../plenary.nvim
|
||||
runtime! plugin/plenary.vim
|
Loading…
Reference in New Issue