You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running the tests only in a nightly build is pretty straightforward (See #986). However, having the test conditionally trigger based on changed files isn't as simple.
The on:push:path directive can only apply to entire workflows, not individual jobs. The only mechanism to conditionally trigger jobs is jobs.<job_id>.if and AFAIK, there is no way to access the modified files in a commit throught Contexts
We could created another zap-advanced-tests.yml workflow that triggers just for changes in zap-adavanced files. But this would over-complicate the pipeline
Activity
RamiSouai commentedon Feb 21, 2022
Running the tests only in a nightly build is pretty straightforward (See #986). However, having the test conditionally trigger based on changed files isn't as simple.
The on:push:path directive can only apply to entire workflows, not individual jobs. The only mechanism to conditionally trigger jobs is jobs.<job_id>.if and AFAIK, there is no way to access the modified files in a commit throught Contexts
We could created another zap-advanced-tests.yml workflow that triggers just for changes in zap-adavanced files. But this would over-complicate the pipeline