feat: add optional llm narrative summaries for repo onboarding #7
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: ci | |
| on: | |
| push: | |
| pull_request: | |
| jobs: | |
| validate: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Setup Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.11" | |
| - name: Setup Node | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: "20" | |
| - name: Compile scripts | |
| working-directory: code-explainer | |
| run: python -c "import glob,py_compile; [py_compile.compile(f, doraise=True) for f in glob.glob('scripts/*.py')]; print('compiled')" | |
| - name: Smoke test | |
| working-directory: code-explainer | |
| run: python scripts/analyze.py analyze --source . --output .ci-out --mode quick --audience nontech --enable-web-enrichment false |