feat: support max_indels=2 for homogeneous insertions or deletions #166
Workflow file for this run
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: Tests | |
| on: | |
| push: | |
| branches: | |
| - master | |
| pull_request: | |
| branches: | |
| - master | |
| jobs: | |
| test: | |
| name: Run Test - ${{ matrix.name }} | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| include: | |
| - name: Exact Match | |
| test-file: pepmatch/tests/test_exact_match.py | |
| - name: Mismatch | |
| test-file: pepmatch/tests/test_mismatching.py | |
| - name: Best Match | |
| test-file: pepmatch/tests/test_best_match.py | |
| - name: Discontinuous Epitope | |
| test-file: pepmatch/tests/test_discontinuous_search.py | |
| - name: Output | |
| test-file: pepmatch/tests/test_output.py | |
| - name: Indel Search | |
| test-file: pepmatch/tests/test_indel_search.py | |
| - name: Indel Property | |
| test-file: pepmatch/tests/test_indel_property.py | |
| - name: 2-Indel Property | |
| test-file: pepmatch/tests/test_indel2_property.py | |
| steps: | |
| - name: Checkout Code | |
| uses: actions/checkout@v3 | |
| - name: Set up Python | |
| uses: actions/setup-python@v4 | |
| with: | |
| python-version: '3.11' | |
| - name: Install Dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install -e . | |
| pip install pytest | |
| - name: Run Test | |
| run: pytest ${{ matrix.test-file }} | |
| linter: | |
| name: Ruff Linter | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - uses: chartboost/ruff-action@v1 |