I have a workflow (simplified) as this:
- Package (
- Unit test (
- Instrumental test (Virtual Device Testing)
- Jacoco report upload
When 1 fails, the workflow should stop. As long as 1 passes, even if 2 fails, workflow should continue to 3 and 4. How should I configure this?
In such a workflow, the “Run if previous Step failed” switch only works on 2 (for which I should uncheck), but not on 3 or 4. If I check “Run if previous Step failed” for 3 or 4, then when 1 fails, they will still run, which is pointless.