Run tests with coverage.
(
session: nox.Session, database: str, cext: str, backendonly: str
)
| 156 | base_tag="coverage", |
| 157 | ) |
| 158 | def coverage( |
| 159 | session: nox.Session, database: str, cext: str, backendonly: str |
| 160 | ) -> None: |
| 161 | """Run tests with coverage.""" |
| 162 | |
| 163 | _tests( |
| 164 | session, |
| 165 | database, |
| 166 | cext, |
| 167 | timing_intensive=False, |
| 168 | backendonly=backendonly == "backendonly", |
| 169 | coverage=True, |
| 170 | ) |
| 171 | |
| 172 | |
| 173 | @nox.session(name="github-cext-greenlet") |