forked from AckslD/nvim-pytrize.lua
-
Notifications
You must be signed in to change notification settings - Fork 0
29 lines (24 loc) · 745 Bytes
/
test.yml
File metadata and controls
29 lines (24 loc) · 745 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
name: Tests
on:
pull_request:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
neovim-version: [stable, nightly]
steps:
- uses: actions/checkout@v4
- uses: rhysd/action-setup-vim@v1
with:
neovim: true
version: ${{ matrix.neovim-version }}
- name: Compile Python treesitter parser
run: |
git clone --depth 1 https://github.com/tree-sitter/tree-sitter-python /tmp/tree-sitter-python
mkdir -p parser
cc -shared -fPIC -o parser/python.so -I /tmp/tree-sitter-python/src \
/tmp/tree-sitter-python/src/parser.c /tmp/tree-sitter-python/src/scanner.c
- name: Run tests
run: make test