From 52ebb311a4a6955ed67f608e86e18e17dd72e48e Mon Sep 17 00:00:00 2001 From: Benjamin Bannier Date: Sat, 23 Nov 2024 17:10:17 +0100 Subject: [PATCH] Remove CI test against Zeek tree This test has been broken for literally years and provides very little signal. Remove it for now. --- .github/workflows/test.yaml | 59 ------------------------------------- 1 file changed, 59 deletions(-) delete mode 100644 .github/workflows/test.yaml diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml deleted file mode 100644 index ab38859..0000000 --- a/.github/workflows/test.yaml +++ /dev/null @@ -1,59 +0,0 @@ -name: Build and tests - -on: - pull_request: - push: - branches: [main] - tags: - schedule: - - cron: "0 0 * * *" - -jobs: - tests: - name: "Build and run parser tests" - runs-on: ${{ matrix.os }} - strategy: - matrix: - os: [ubuntu-latest, macos-latest] - fail-fast: false - steps: - - name: Checkout parser sources - uses: actions/checkout@v3 - - - name: Checkout Zeek sources - uses: actions/checkout@v3 - with: - repository: zeek/zeek - path: test/zeek-src - - - uses: actions/setup-node@v3 - with: - node-version: "20" - - - run: npm install - - - name: Add Node.js to PATH - run: echo "$PWD/node_modules/.bin" >> $GITHUB_PATH - - - name: Setup tree-sitter - # "tree-sitter init-config" adds $HOME/github as a default - # directory to look for languages in, so we create a symlink - # that directs it to our local clone. - run: | - ln -s $(cd .. && pwd) $HOME/github - tree-sitter init-config - - - name: Generate parser - run: tree-sitter generate - - - name: Test Zeek grammar - run: cd test && ./parse-zeek-tree.sh ./zeek-src/scripts - - - name: Upload test artifacts - uses: actions/upload-artifact@v3 - if: failure() - with: - name: parser-errors - path: | - test/*.zeek - test/*.err