Skip to content

Add PR test workflow for MongoDB#6

Merged
nitinahuja89 merged 2 commits intodocumentdb:mainfrom
eerxuan:add-pr-checks
Mar 26, 2026
Merged

Add PR test workflow for MongoDB#6
nitinahuja89 merged 2 commits intodocumentdb:mainfrom
eerxuan:add-pr-checks

Conversation

@eerxuan
Copy link
Copy Markdown
Contributor

@eerxuan eerxuan commented Mar 20, 2026

Add GitHub Actions workflow that runs pytest against MongoDB and DocumentDB on pull requests. Includes test summary reporting and result analyzer integration.

  • .github/workflows/pr-tests.yml: CI workflow for PR checks
  • result_analyzer/main.py: python -m support for analyzer

@eerxuan eerxuan requested a review from a team as a code owner March 20, 2026 23:20
@eerxuan eerxuan force-pushed the add-pr-checks branch 2 times, most recently from 264bf9a to 950eaac Compare March 20, 2026 23:42
@eerxuan eerxuan force-pushed the add-pr-checks branch 3 times, most recently from 2a294f6 to ee1b40a Compare March 25, 2026 01:24
@nitinahuja89
Copy link
Copy Markdown
Collaborator

Might need to change the PR title since we are only running against MongoDB engine for now from this repo

@eerxuan eerxuan changed the title Add PR test workflow for MongoDB and DocumentDB Add PR test workflow for MongoDB Mar 25, 2026
Yunxuan Shi added 2 commits March 26, 2026 14:09
Add GitHub Actions workflow that runs pytest against MongoDB and
DocumentDB on pull requests. Includes test summary reporting and
result analyzer integration.

- .github/workflows/pr-tests.yml: CI workflow for PR checks
- result_analyzer/__main__.py: python -m support for analyzer

Signed-off-by: Yunxuan Shi <yunxuan@amazon.com>

# Conflicts:
#	documentdb_tests/compatibility/result_analyzer/__main__.py
- Use absolute paths (${{ github.workspace }}) for test output files
- Add include-hidden-files: true for .test-results/ upload
- Move upload step before generate summary step
- Remove DocumentDB job (start with MongoDB only)
- Remove unnecessary mkdir step

Signed-off-by: Yunxuan Shi <yunxuan@amazon.com>
@nitinahuja89 nitinahuja89 merged commit 3fcab53 into documentdb:main Mar 26, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants