Skip to content

Commit

Permalink
chore: remove js parsing script
Browse files Browse the repository at this point in the history
  • Loading branch information
calebdw committed Jan 22, 2024
1 parent b569a5f commit ae1aaf1
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 106 deletions.
12 changes: 11 additions & 1 deletion .github/workflows/ci.yml
Expand Up @@ -14,7 +14,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
os: [macos-latest, ubuntu-latest]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
Expand All @@ -25,3 +25,13 @@ jobs:
python-version: '3.12'
- run: npm install
- run: npm test
- run: npm run test-example
test_windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18
- run: npm install
- run: npm test
3 changes: 2 additions & 1 deletion package.json
Expand Up @@ -29,8 +29,9 @@
"build-php": "cd php && tree-sitter generate --no-bindings",
"build-php_only": "cd php_only && tree-sitter generate --no-bindings",
"lint": "eslint common/define-grammar.js",
"test": "npm run test-php && npm run test-php_only && npm run test-load",
"test-examples": "script/parse-examples",
"test-load": "node -e \"console.log(require('./php').name, require('./php_only').name)\"",
"test": "npm run test-php && npm run test-php_only && npm run test-load && node script/parse-examples.js",
"test-php": "cd php && tree-sitter test",
"test-php_only": "cd php_only && tree-sitter test"
},
Expand Down
2 changes: 2 additions & 0 deletions script/parse-examples
Expand Up @@ -26,9 +26,11 @@ function clone_repo {
}

clone_repo laravel laravel 9d0862b3340c8243ee072afc181e315ffa35e110
clone_repo laravel framework 45d439e98a6b14afde8911f7d22a265948adbf72
clone_repo phacility phabricator d0b01a41f2498fb2a6487c2d6704dc7acfd4675f
clone_repo sebastianbergmann phpunit 5e523bdc7dd4d90fed9fb29d1df05347b3e7eaba
clone_repo WordPress WordPress 45286c5bb3f6fe5005567903ec858d87077eae2c
clone_repo wikimedia mediawiki b6b88cbf98fb0c7891324709a85eabc290ed28b4

known_failures=$(cat script/known-failures.txt)

Expand Down
104 changes: 0 additions & 104 deletions script/parse-examples.js

This file was deleted.

0 comments on commit ae1aaf1

Please sign in to comment.