MCPcopy Index your code
hub / github.com/pyinvoke/invoke / regression

Function regression

tasks.py:96–104  ·  view source on GitHub ↗

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)

Source from the content-addressed store, hash-verified

94
95@task
96def 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

Callers

nothing calls this directly

Calls 1

runMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…