diff --git a/.github/workflows/test-pr.yml b/.github/workflows/test-pr.yml new file mode 100644 index 0000000..1fbcf17 --- /dev/null +++ b/.github/workflows/test-pr.yml @@ -0,0 +1,28 @@ +name: PR Test Workflow + +on: + pull_request: + branches: [ main ] + +jobs: + test: + runs-on: ubuntu-latest + + steps: + - name: Checkout code + uses: actions/checkout@v3 + + - name: Set up Python + uses: actions/setup-python@v4 + with: + python-version: '3.8' + cache: 'pip' + + - name: Install dependencies + run: | + python -m pip install --upgrade pip + # Install the package in development mode + pip install -e ".[dev]" + + - name: Run tests + run: pytest --cov=pattern_seek \ No newline at end of file diff --git a/change-log/v0.1.0.md b/change-log/v0.1.0.md index 871434f..f8cce94 100644 --- a/change-log/v0.1.0.md +++ b/change-log/v0.1.0.md @@ -70,7 +70,7 @@ - [Adding a license to a repository](https://docs.github.com/en/communities/setting-up-your-project-for-healthy-contributions/adding-a-license-to-a-repository) - [The MIT License](https://opensource.org/license/mit) -### Know Limitations +### Known Limitations - Large files may experience performance degradation. - Date pattern matching is syntactic only; does not validate for semantic correctness (e.g. will match Feb 30) diff --git a/planning/plan.md b/planning/plan.md index 57799ad..2cb6b8c 100644 --- a/planning/plan.md +++ b/planning/plan.md @@ -18,8 +18,8 @@ In order of priority, going from simplest to most complex: - [ ] **Context Display**: Show surrounding lines of text around matches for better understanding of results. - [ ] **Configurable Output Formats**: Support for colored terminal output, JSON, CSV, or markdown for easier integration into other tools/workflows. - [ ] **Search History & Caching**: Remember previous searches and cache results for frequently searched files. -- [ ] **Regular Expression Support**: Allow customer regex pattern search beyond the built in ones. -- [ ] **File Type Filtering**: Limit searches to specifi file types or exclude certain files. +- [ ] **Regular Expression Support**: Allow custom regex pattern search beyond the built in ones. +- [ ] **File Type Filtering**: Limit searches to specific file types or exclude certain files. - [ ] **Syntax Highlighting**: Colorize code or highlighted matched patterns for better readability. - [ ] **Batch Processing**: Run multiple search queries at once and combine results. - [ ] **Vector Database Integration**: Store embeddings in a vector database for faster semantic search on large datasets/files.