Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 0 additions & 14 deletions .github/PULL_REQUEST_TEMPLATE/pull_request_template.md

This file was deleted.

47 changes: 47 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
# 📝 Description

Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.

Fixes # (issue)

## 🛠 Type of Change

Please delete options that are not relevant.

- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
- [ ] This change requires a documentation update
- [ ] This change will expire our current cache and need cache update

## 🔍 How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

- [ ] Added new unit/integration tests
- [ ] Added new notebook (that tests end-to-end)
- [ ] I stared at the code and made sure it makes sense

## ✅ Suggested Checklist:

- [ ] I have added dependencies to the `pyproject.toml` file
- [ ] I have updated the `poetry.lock` file
- [ ] I have updated the `requirements.txt` file (till 2024-06-01)
- [ ] I have updated the documentation accordingly
- [ ] New and existing unit tests pass locally with my changes
- [ ] New and existing integration notebooks pass locally with my changes with the cache
- [ ] Pre-Commit checks are passing (locally and remotely)
- [ ] Title of your PR / MR corresponds to the required format
- [ ] I have performed a self-review of my own code
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [ ] I have added Google Colab support for the newly added notebooks
- [ ] My changes generate no new warnings
- [ ] I have added tests that prove my fix is effective or that my feature works
- [ ] I have added a new notebook that tests the new feature
- [ ] I ran `ruff check . --fix-only` to appease the lint gods
- [ ] Commit message follows required format {label}(dspy): {message}

## ⚠️ Warnings

Please provide any warnings or caveats that need to be addressed.
27 changes: 1 addition & 26 deletions .github/workflows/run_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:
python-version: ${{ matrix.python-version }}
cache: "poetry"
- name: Install dependencies
run: poetry install --no-interaction
run: poetry install --with dev --no-interaction
- name: Run lint with tests
uses: chartboost/ruff-action@v1
with:
Expand Down Expand Up @@ -95,28 +95,3 @@ jobs:
run: python -c "import dspy"
- name: Test import dsp
run: python -c "import dsp"

build_setup:
name: Build Setup
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.9"]
steps:
- uses: actions/checkout@v4
- name: Load cached Poetry installation
id: cached-poetry
uses: actions/cache@v3
with:
path: ~/.local
key: poetry-${{ env.POETRY_VERSION }}-${{ hashFiles('**/poetry.lock') }}
- name: Install Poetry
if: steps.cached-poetry.outputs.cache-hit != 'true'
uses: snok/install-poetry@v1
- name: Set up python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: "poetry"
- name: Run setup.py build
run: python setup.py build
Loading