ci: try using --parallel install for mypy pipeline

`time tox -e mypy-misc` (removed the actual mypy call)

before (each module in a separate 'hpi install' command)
```
real	1m45.901s
user	1m19.555s
sys	0m5.491s
```

in a single 'hpi install' command (multiple modules)
```
real	1m31.252s
user	1m6.028s
sys	0m5.065s
```

single 'hpi install' command with --parallel
```
real	0m15.674s
user	0m50.986s
sys	0m3.249s
```
This commit is contained in:
Dima Gerasimov 2022-06-06 00:02:06 +01:00 committed by karlicoss
parent f0397b00ff
commit cef9b4c6d3

41
tox.ini
View file

@ -91,26 +91,27 @@ commands =
commands = commands =
pip install -e .[testing,optional] pip install -e .[testing,optional]
hpi module install my.browser.export hpi module install --parallel \
hpi module install my.orgmode my.browser.export \
hpi module install my.endomondo my.orgmode \
hpi module install my.github.ghexport my.endomondo \
hpi module install my.hypothesis my.github.ghexport \
hpi module install my.instapaper my.hypothesis \
hpi module install my.pocket my.instapaper \
hpi module install my.reddit.rexport my.pocket \
hpi module install my.reddit.pushshift my.reddit.rexport \
hpi module install my.stackexchange.stexport my.reddit.pushshift \
hpi module install my.tinder.android my.stackexchange.stexport \
hpi module install my.pinboard my.tinder.android \
hpi module install my.arbtt my.pinboard \
hpi module install my.coding.commits my.arbtt \
hpi module install my.goodreads my.coding.commits \
hpi module install my.pdfs my.goodreads \
hpi module install my.smscalls my.pdfs \
hpi module install my.location.gpslogger my.smscalls \
hpi module install my.location.via_ip my.location.gpslogger \
hpi module install my.google.takeout.parser my.location.via_ip \
my.google.takeout.parser
# todo fuck. -p my.github isn't checking the subpackages?? wtf... # todo fuck. -p my.github isn't checking the subpackages?? wtf...
# guess it wants .pyi file?? # guess it wants .pyi file??