Commit 67ea4d8
committed
ci(idris): fix proof-check path resolution + scope to ipkg proof modules
The first cut ran `idris2 --check src/Proven/Foo/Proofs.idr` from the repo
root, which raises a spurious 'module name does not match file name' because
Idris matches the dotted namespace against trailing path segments. Run from
`src` (the ipkg sourcedir) with module-relative paths instead.
Also scope the sweep to the Proofs modules actually listed in proven.ipkg
(the real build contract), not every Proofs.idr on disk — 64 of 93 on-disk
proof files are intentionally not in the package (env-blocked or WIP) and
must not gate.
Refs #145.1 parent f679205 commit 67ea4d8
1 file changed
Lines changed: 10 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
145 | 145 | | |
146 | 146 | | |
147 | 147 | | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
148 | 155 | | |
149 | 156 | | |
| 157 | + | |
150 | 158 | | |
151 | 159 | | |
152 | 160 | | |
| |||
156 | 164 | | |
157 | 165 | | |
158 | 166 | | |
159 | | - | |
| 167 | + | |
160 | 168 | | |
161 | 169 | | |
162 | 170 | | |
163 | | - | |
| 171 | + | |
164 | 172 | | |
165 | 173 | | |
166 | 174 | | |
| |||
0 commit comments