Add optional LLM fallback parsers: llm_anthropic and llm_local #1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: mocha | |
| on: | |
| push: | |
| branches: [main] | |
| paths: | |
| - 'frameworks/unit-or-qa/mocha/**' | |
| - '.github/workflows/mocha.yml' | |
| pull_request: | |
| paths: | |
| - 'frameworks/unit-or-qa/mocha/**' | |
| - '.github/workflows/mocha.yml' | |
| workflow_dispatch: | |
| schedule: | |
| # Daily at 12:00 UTC for the test 4 change-detection showcase. | |
| # Avoid 0 0 * * * — month boundary ambiguity. | |
| - cron: '0 12 * * *' | |
| permissions: | |
| contents: read | |
| concurrency: | |
| group: mocha-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| benchmark: | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| working-directory: frameworks/unit-or-qa/mocha | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Node | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: '20' | |
| cache: npm | |
| cache-dependency-path: frameworks/unit-or-qa/mocha/package.json | |
| - name: Run sample benchmark | |
| run: ./run.sh | |
| - name: Upload output as artifact | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: mocha-output | |
| path: frameworks/unit-or-qa/mocha/output.json | |
| if-no-files-found: error |