Add update notifications and rename repo references (v1.6.5) #26
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: Test Code Snippets | |
| on: | |
| push: | |
| branches: | |
| - main | |
| paths: | |
| - 'SKILL.md' | |
| - 'references/**' | |
| - 'tests/**' | |
| - '.github/workflows/test-snippets.yml' | |
| pull_request: | |
| paths: | |
| - 'SKILL.md' | |
| - 'references/**' | |
| - 'tests/**' | |
| - '.github/workflows/test-snippets.yml' | |
| workflow_dispatch: | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 30 | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions/setup-python@v6 | |
| with: | |
| python-version: '3.11' | |
| - name: Cache idc-index data | |
| uses: actions/cache@v5 | |
| with: | |
| path: ~/.idc | |
| key: idc-index-0.11.14 | |
| - name: Install test dependencies | |
| run: pip install -r tests/requirements-test.txt | |
| - name: Run snippet tests | |
| run: pytest tests/test_snippets.py -v --timeout=300 |