Skip to content

Commit

Permalink
ci: try using --parallel install for mypy pipeline
Browse files Browse the repository at this point in the history
`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
```
  • Loading branch information
karlicoss committed Jun 6, 2022
1 parent f0397b0 commit cef9b4c
Showing 1 changed file with 21 additions and 20 deletions.
41 changes: 21 additions & 20 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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??
Expand Down

0 comments on commit cef9b4c

Please sign in to comment.