Skip to content

Merge pull request #48 from gmlarumbe/test-submodule #9

Merge pull request #48 from gmlarumbe/test-submodule

Merge pull request #48 from gmlarumbe/test-submodule #9

Workflow file for this run

name: CI
on:
workflow_dispatch:
pull_request:
push:
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: true
matrix:
os: [ubuntu-latest, macos-latest] # windows-latest still not supported by tree-sitter/setup-action@v1
steps:
- name: Clone tree-sitter-systemverilog
uses: actions/checkout@v4
with:
submodules: true
- name: Setup tree-sitter
uses: tree-sitter/setup-action@v1
- name: Generate parser
run: |
tree-sitter generate
- name: Run parse tests
run: |
tree-sitter test
- name: Run highlight tests
run: |
tree-sitter highlight --paths test/highlight_paths_file.txt