-
Notifications
You must be signed in to change notification settings - Fork 9
Add Aqua tests for automated quality assurance #130
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
Conversation
@yebai 👋 This repository doesn't have Copilot instructions. With Copilot instructions, I can understand the repository better, work faster and produce higher quality PRs. I can generate a .github/copilot-instructions.md file for you automatically. Click here to open a pre-filled issue and assign it to me. I'll write the instructions, and then tag you for review. |
Aqua
tests
AbstractPPL.jl documentation for PR #130 is available at: |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #130 +/- ##
=======================================
Coverage 86.28% 86.28%
=======================================
Files 5 5
Lines 401 401
=======================================
Hits 346 346
Misses 55 55 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Pull Request Test Coverage Report for Build 17282963650Details
💛 - Coveralls |
test/runtests.jl
Outdated
using Test | ||
|
||
const GROUP = get(ENV, "GROUP", "All") | ||
const AQUA = get(ENV, "AQUA", "true") == "true" |
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.
@copilot, remove the AQUA
variable and relevant checks. Always run Aqua.jl
in test groups All
and Tests
.
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.
Removed the AQUA environment variable and conditional checks. Aqua tests now always run in the "All" and "Tests" groups as requested. (c44ff27)
…ts groups Co-authored-by: yebai <[email protected]>
Just as a heads up, I was blocked by some firewall rules while working on your feedback. Expand below for details. Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
This PR adds Aqua.jl tests to provide automated quality assurance for the AbstractPPL.jl package, similar to the implementation in DynamicPPL.jl (issue #758).
What's Added
test/Project.toml
with proper compatibility constraintstest/Aqua.jl
that runs automated quality assurance teststest/runtests.jl
to include Aqua tests in the "All" and "Tests" groupsQuality Checks Included
The Aqua tests check for common package quality issues:
Note: Ambiguity tests are currently excluded since they primarily catch issues from interactions with third-party packages rather than AbstractPPL itself.
Usage
The Aqua tests run automatically with the test suite:
This helps prevent quality issues like undefined exports and ensures consistent package maintenance standards across the TuringLang ecosystem.
Fixes #120.
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.