Skip to content

Commit

Permalink
Fix CI (add missing python parser)
Browse files Browse the repository at this point in the history
  • Loading branch information
mfussenegger committed Sep 8, 2024
1 parent d777c2b commit 40f40dd
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,11 @@ jobs:
neovim: true
version: ${{ matrix.neovim_version }}

- name: Install treesitter
uses: tree-sitter/setup-action@v1
with:
install-lib: false

- name: Install Lua
uses: leso-kn/gh-actions-lua@master
with:
Expand All @@ -35,6 +40,15 @@ jobs:
with:
luarocksVersion: "3.11.0"

- name: Install tree-sitter-python
run: |
luarocks install tree-sitter-python --local
- name: Copy python.so
run: |
mkdir -p ~/.config/nvim/parser
find .luarocks -name python.so -exec cp {} ~/.config/nvim/parser/python.so \;
- name: Run tests
run: |
luarocks test --local
1 change: 1 addition & 0 deletions nvim-dap-python-scm-1.rockspec
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ dependencies = {

test_dependencies = {
"nlua",
"tree-sitter-python"
}

source = {
Expand Down

0 comments on commit 40f40dd

Please sign in to comment.