Run an expensive, hard-to-test-in-pytest run() regression checker. :param int jobs: Number of jobs to run, in total. Ideally num of CPUs.
(c: Context, jobs: int = 8)
| 94 | |
| 95 | @task |
| 96 | def regression(c: Context, jobs: int = 8) -> None: |
| 97 | """ |
| 98 | Run an expensive, hard-to-test-in-pytest run() regression checker. |
| 99 | |
| 100 | :param int jobs: Number of jobs to run, in total. Ideally num of CPUs. |
| 101 | """ |
| 102 | os.chdir("integration/_support") |
| 103 | cmd = "seq {} | parallel -n0 --halt=now,fail=1 inv -c regression check" |
| 104 | c.run(cmd.format(jobs)) |
| 105 | |
| 106 | |
| 107 | # TODO: hoist up into invocations.checks once proven/needed elsewhere |
nothing calls this directly
no test coverage detected
searching dependent graphs…