From b44871afb59e456bbff4113e416405c06c991cf5 Mon Sep 17 00:00:00 2001 From: Kiyoon Kim Date: Tue, 14 Feb 2023 17:16:33 +0000 Subject: Add treesitter CLI in CI with Windows and mac --- .github/workflows/test-queries.yml | 8 +++++--- .github/workflows/tests.yml | 5 ++++- 2 files changed, 9 insertions(+), 4 deletions(-) (limited to '.github') diff --git a/.github/workflows/test-queries.yml b/.github/workflows/test-queries.yml index 8545965b1..5c9786536 100644 --- a/.github/workflows/test-queries.yml +++ b/.github/workflows/test-queries.yml @@ -24,8 +24,8 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest, windows-2022, macos-latest] - cc: [ gcc, clang ] - nvim_tag: [ stable ] + cc: [gcc, clang] + nvim_tag: [stable] exclude: - os: ubuntu-latest cc: clang @@ -59,10 +59,12 @@ jobs: - uses: ilammy/msvc-dev-cmd@v1 - uses: actions/setup-node@v3 + - name: Install tree-sitter CLI + run: npm i -g tree-sitter-cli + - name: Install and prepare Neovim env: NVIM_TAG: ${{ matrix.nvim_tag }} - TREE_SITTER_CLI_TAG: v0.20.6 run: | bash ./scripts/ci-install-${{ matrix.os }}.sh diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 4c807cdcb..078cdbd52 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -20,7 +20,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest] - cc: [ gcc ] + cc: [gcc] name: Run tests runs-on: ${{ matrix.os }} @@ -30,6 +30,9 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 + - name: Install tree-sitter CLI + run: npm i -g tree-sitter-cli + - name: Test Dependencies run: | mkdir -p ~/.local/share/nvim/site/pack/plenary.nvim/start -- cgit v1.2.3-70-g09d2