Add GitHub Copilot environment setup and increase test coverage to 87… - #5
Merged
Merged
Conversation
#4) * Checkpoint from VS Code for coding agent session * Add Copilot setup workflow and improve test coverage to 87% Co-authored-by: marcelo-m7 <117441129+marcelo-m7@users.noreply.github.com> * Address code review feedback - improve test assertions Co-authored-by: marcelo-m7 <117441129+marcelo-m7@users.noreply.github.com> --------- Co-authored-by: marcelo-m7 <marcelo.net77@hotmail.com> Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: marcelo-m7 <117441129+marcelo-m7@users.noreply.github.com>
There was a problem hiding this comment.
Pull Request Overview
This PR adds GitHub Copilot environment configuration and significantly improves test coverage to 87% by adding comprehensive test cases for edge cases and error handling scenarios.
Key changes:
- Added Copilot setup workflow (
.github/workflows/copilot-setup-steps.yml) and instructions (.github/copilot-instructions.md) to configure the development environment for GitHub Copilot agents - Enhanced test coverage in
tests/test_scrape_ualg.pywith 7 new test cases covering document saving, error handling, course page parsing, and scraping limits - Added 4 new test cases in
tests/test_api.pyfor filtering, pagination, and fallback behavior
Reviewed Changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
.github/workflows/copilot-setup-steps.yml |
New GitHub Actions workflow that sets up Python environment, installs dependencies, and initializes database for Copilot agents |
.github/copilot-instructions.md |
Comprehensive documentation for Copilot agents describing architecture, workflows, conventions, and extension patterns |
tests/test_scrape_ualg.py |
Added 7 new test methods covering document operations, module/area parsing, scraping limits, and error handling |
tests/test_api.py |
Added 4 new test methods for API filtering by school/area, pagination with offset, and root endpoint fallback |
marcelo-m7
merged commit Oct 27, 2025
824aa91
into
copilot/create-api-for-course-catalog
2 checks passed
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
…% (#4)
Checkpoint from VS Code for coding agent session
Add Copilot setup workflow and improve test coverage to 87%
Address code review feedback - improve test assertions
Description
Please include a summary of the changes and the related issue. Please also include relevant motivation and context.
Fixes # (issue)
Type of change
Please delete options that are not relevant.
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.
Test Configuration:
Checklist: