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