-
Notifications
You must be signed in to change notification settings - Fork 68
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* build: add dill as req * git: ignore .DS_Store * git: ignore .dill & .pkl * refactor(demo): remove useless print * refactor(demo): name the agents * !refactor: separate actions from agent and switch pickl to dill * refactor(demo): use new custom action system * doc: update docstrings * chore: bump version to 0.3.0 * test: add unit tests * test: remove 3.11-related tests (not needed) * chore(checkpoint): remove unused code * fix(action): think action no longer trigger talk action * fix(interaction): check if agent exist before storing interaction * fix(checkpoint): check if user tryies to create a new checkpoint manager * fix(test): resolve failing UTs * doc: README --------- Signed-off-by: Valentin De Matos <[email protected]>
- Loading branch information
Showing
21 changed files
with
992 additions
and
238 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
name: Run Tests | ||
|
||
on: | ||
pull_request: | ||
branches: [ main ] | ||
push: | ||
branches: [ main ] | ||
|
||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
python-version: ["3.10"] | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
|
||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install -e ".[test]" | ||
- name: Run tests with pytest | ||
env: | ||
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} | ||
run: | | ||
pytest |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -174,5 +174,9 @@ cython_debug/ | |
*.pickle | ||
*.pkl | ||
|
||
*.dill | ||
*.pkl | ||
|
||
# VS Code | ||
*.code-workspace | ||
*.code-workspace | ||
.DS_Store |
This file contains 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
Oops, something went wrong.