SatelCreative / spylib

A library to facilitate interfacing with Shopify's API
https://satelcreative.github.io/spylib
MIT License
3 stars 2 forks source link

👷 fix dependencies reinstallation #134

Closed lishanl closed 2 years ago

lishanl commented 2 years ago

Quinn pointed out that the dependencies have been reinstalled many times in the python 310 test environment and the overall CI takes a long time to run tests

lishanl commented 2 years ago

This change has shortened the total run time from 12 min to 5 min by running all tests and checks in each Python version because it doesn't create an isolated test env and install all dependencies again for each check such as mypy, ... At this point installing dependencies take longer than running the tests and checks

Can you think of a better optimization?

lishanl commented 2 years ago

Awesome start!

Have to say that long running time has been a pain. Thanks for looking into it and find what's causing it @qw-in