-
-
Notifications
You must be signed in to change notification settings - Fork 7
Add backend tests #12
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 10 commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
327aef1
Add pytest config and test fixtures for the backend
ambv 95c7277
Add tests for health, commits, binaries, and environments endpoints
ambv 77a1361
Add tests for benchmarks, diff, trends, and flamegraph endpoints
ambv 3ae11f1
Add tests for upload and memray failure reporting endpoints
ambv cb94426
Add tests for token authentication
ambv 6aa20e6
Add tests for public endpoints and logging utilities
ambv 5a02cf0
Expand upload tests and fix coverage tracking
ambv 888bcdc
Document how to run backend tests and describe the test architecture
ambv 7d1142e
Add backend tests to CI, triggered only on backend/ changes
ambv bf30fa5
Add tests using production data fixtures
ambv 78d2cce
Merge remote-tracking branch 'origin/main' into backend-tests
ambv 3490416
Address review feedback and fix missing commit in upload endpoint
ambv 2f212c7
Use asyncpg constraint_name for duplicate upload detection
ambv d9baef0
backend: remove deprecation warnings
pablogsal 3b8dae5
backend: fix ruff issues
pablogsal bfdab4f
ci: run backend ruff
pablogsal ca0c66b
backend: remove unused imports
pablogsal 27ba6e1
backend: clean up scripts
pablogsal 01f9799
ci: improve backend change detection
pablogsal 4cd552d
backend: clean up unused code paths
pablogsal 0d8f838
tests: remove redundant asyncio markers
pablogsal 712a943
backend: lock ruff in dev requirements
pablogsal 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,2 @@ | ||
| [run] | ||
| concurrency = greenlet |
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,3 @@ | ||
| [pytest] | ||
| testpaths = tests | ||
| asyncio_mode = auto |
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,4 @@ | ||
| -r requirements.in | ||
| pytest | ||
| pytest-asyncio | ||
| pytest-cov |
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
Empty file.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.