Commit ec14c61
QA: scan the PrettyTables extension with ExplicitImports (#173)
* Make QA scan the PrettyTables extension
ExplicitImports only adds an extension module to its checked set when
`Base.get_extension` returns it, which requires the trigger package to be
loaded. The QA environment loaded no weakdeps, so
`SymbolicIndexingInterfacePrettyTablesExt` was never scanned.
Add PrettyTables to `test/qa/Project.toml` and `using` it in `test/qa/qa.jl`.
The newly-scanned extension reported implicit imports of `PrettyTables` and
`pretty_table`, fixed at the source with an explicit `using ... :` list rather
than an ignore entry.
Co-Authored-By: Chris Rackauckas <accounts@chrisrackauckas.com>
* Assert the extension actually loaded in QA
`Base.get_extension` returning `nothing` makes ExplicitImports skip the
extension silently, so a broken extension would leave QA green while dropping
extension coverage back to zero. Check the module exists before `run_qa`.
Co-Authored-By: Chris Rackauckas <accounts@chrisrackauckas.com>
---------
Co-authored-by: ChrisRackauckas-Claude <accounts@chrisrackauckas.com>1 parent affcfdd commit ec14c61
3 files changed
Lines changed: 13 additions & 1 deletion
File tree
- ext/SymbolicIndexingInterfacePrettyTablesExt
- test/qa
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
| |||
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
| 13 | + | |
12 | 14 | | |
13 | 15 | | |
14 | 16 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
5 | 15 | | |
6 | 16 | | |
7 | 17 | | |
| |||
0 commit comments