ecommerce
ecommerce copied to clipboard
CI: run only tests of the changed components
With the current high level of decoupling between our components (BC, read models, processes) it feels like we could speedup CI/CD process by only running those component tests which could potentially be impacted by the change.
Anyone knows how to start with this?
as usual, steal from RES:
https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions#onpushpull_requestpaths https://github.com/RailsEventStore/rails_event_store/blob/master/.github/workflows/aggregate_root.yml#L2-L15 https://github.com/RailsEventStore/rails_event_store/blob/master/.github/workflows/ruby_event_store-outbox.yml#L2-L17