mirror of https://github.com/Wilfred/difftastic/
30 lines
730 B
YAML
30 lines
730 B
YAML
name: Test
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
jobs:
|
|
test:
|
|
runs-on: ${{ matrix.os }}
|
|
strategy:
|
|
matrix:
|
|
os: [ubuntu-latest, macos-latest, windows-latest]
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- uses: actions/setup-node@v2
|
|
with:
|
|
node-version: 16
|
|
- run: npm install
|
|
- run: npm test
|
|
|
|
racket:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- uses: actions/setup-node@v2
|
|
with:
|
|
node-version: 16
|
|
- run: npm install
|
|
- run: git clone https://github.com/racket/racket --depth 1
|
|
- run: $(npm bin)/tree-sitter parse $(find racket -name '*.rkt' -type f -not -exec grep -q '#lang at-exp' {} \; -print) -qt
|