-
Notifications
You must be signed in to change notification settings - Fork 2.4k
feat(tests): add initial integration tests to repo #1048
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
60 commits
Select commit
Hold shift + click to select a range
9a8026c
feat(tests): add requirements-dev.txt
35dcaed
feat(tests): BaseIntegrationTestWithCache
a1c8491
feat(tests): ignore assert in ruff
6f1c120
feat(tests): TestIntroIntegration
b773796
feat(tests): TestIntroIntegration
32b5470
feat(tests): TestIntroIntegration
2e10d67
feat(tests): add integration test to CI.
6df93fc
feat(tests): add integration test to CI.
195cd03
feat(tests): add integration test to CI.
965fbf3
feat(tests): add integration test to CI.
ff075fe
feat(tests): add integration test to CI.
56b00ad
feat(tests): add integration test to CI.
742eb56
feat(tests): add pytest.ini for integration
598f831
feat(tests): add pytest.ini for integration
73ff317
feat(tests): change it to ci way -_-
f6a64e3
feat(tests): change it to ci way -_-
e593154
feat(tests): change it to ci way -_-
35c39ad
feat(tests): change it to ci way -_-
065f2d1
feat(tests): change it to ci way -_-
81851d1
feat(tests): change it to ci way -_-
f7fa698
feat(tests): change it to ci way -_-
3b7da8d
feat(tests): change it to ci way -_-
11c84bb
feat(tests): change it to ci way -_-
d96c0ce
feat(tests): change it to ci way -_-
b4f3391
feat(tests): change it to ci way -_-
0098e4e
feat(tests): cache file.
8f81e6c
feat(tests): cache file.
b2e51bb
feat(tests): cache file.
cac66f8
feat(tests): cache file.
a7c229e
feat(tests): cache file.
4ad4b9f
feat(tests): cache file.
29ec21f
feat(tests): add print for start file.
9de0989
feat(tests): fix versions for cache.
abdb933
feat(tests): fix versions for cache.
c5e1e28
feat(tests): fix cache in the ci.
87dd340
feat(tests): fix cache in the ci.
f14c91d
feat(tests): fix cache in the ci.
9811198
feat(tests): remove top import.
9c2652d
feat(tests): add new pytest-ci.ini
f5573c5
feat(tests): fix run_tests.yml
d6a36f9
feat(tests): fix run_tests.yml
5d994d4
feat(tests): fix run_tests.yml
a6f1395
feat(tests): remove pytest-ci.ini
5f31aa2
feat(tests): split requirements and requirements-dev
53fb2a5
feat(tests): revert cache
9a847f5
feat(tests): revert cache
a11e80e
feat(tests): revert pre-commit.
c1aa768
feat(tests): clean up.
f0bd17d
feat(tests): show ruff errors.
c1d49c0
feat(tests): revert requirements.
66309ee
feat(tests): fix ruff.
1be9a20
feat(tests): fix ruff.
01b671d
feat(tests): fix ruff.
26f2ffd
feat(tests): fix ruff.
b42e8bf
feat(tests): fix ruff.
c9e687e
feat(tests): cleanup.
1c65f3c
feat(tests): remove second ruff.
e06883c
feat(tests): arnav comments on intro integration
beca119
feat(tests): revert requirements.txt
481e0f1
feat(tests): remove base.py
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| black==24.2.0 | ||
| pre-commit==3.7.0 | ||
| pytest==8.2.1 | ||
| pytest-env==1.1.3 | ||
| pytest-mock==3.12.0 | ||
| ruff==0.3.0 | ||
| torch==2.2.1 | ||
| transformers==4.38.2 |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,6 @@ | ||
| [pytest] | ||
| filterwarnings = | ||
| ignore::DeprecationWarning | ||
|
|
||
| env = | ||
| DSP_NOTEBOOK_CACHEDIR=./cache |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not fully sure but is it needed to specify a python version here? (can we extend this to >=3.9 as in dspy-ai?) and how does this affect users who don't have 3.9 - (saw a followup to this issue here more so for dspy-ai but similar impact).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I haven't tested on other pythons, I would say definitely we can add other python versions testing but I suggest defer it after merging my other PR about moving all dependencies to the poetry.
pip requirements doesn't have good caching system in the CI and if we want to add other python version testing in our CI it would consume our CI resources very fast.