Path-Check / safeplaces-dct-app

COVID Safe Paths (based on Private Kit) is an open and privacy preserving system to use personal information to battle COVID
https://covidsafepaths.org
MIT License
465 stars 285 forks source link

Update Workflows: Remove BT, Make Conditional #1299

Closed JacobJaffe closed 4 years ago

JacobJaffe commented 4 years ago

Changes our workflows to only run when affected code has changed. Always Run (very fast):

Run on JS changes:

Run on ios changes:

Run on Push to develop:

Would appreciate feedback on this! these are up in the air, I think we're spending a lot of timing waiting on tests that don't need to run, so this should be more efficient

JacobJaffe commented 4 years ago

This looks great.

It is worth noting that it is possible to break the ios build by only changing js code via react native things. For example if you add or remove a library that has a native dependency that doesnt work for whatever reason. Personally, I think its a risk worth taking in making ci more useful as it would be pretty obviously broken during deploy builds and running locally.

Good point -- didn't mean to imply this would give us equal confidence. All the checks on Push are kept here, so I think we'll still be able to catch those regressions fairly quickly