Skip to content

Instantly share code, notes, and snippets.

@testautomation
Last active July 25, 2024 12:35
Show Gist options
  • Save testautomation/c7899c234657469ef0ebf2f14f92095f to your computer and use it in GitHub Desktop.
Save testautomation/c7899c234657469ef0ebf2f14f92095f to your computer and use it in GitHub Desktop.

Revisions

  1. testautomation revised this gist Nov 7, 2019. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion circleci-conditional-job.md
    Original file line number Diff line number Diff line change
    @@ -25,7 +25,7 @@ workflows:
    - test-suit-2
    - test-suit-3
    - test-suit-4
    ignore_previous_fails: true
    ignore_previous_status: true
    pre-steps:
    - attach-test-results
    ```
  2. testautomation created this gist Nov 7, 2019.
    31 changes: 31 additions & 0 deletions circleci-conditional-job.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,31 @@
    # simlified .circleci/config.yml

    ```yaml
    workflows:

    parallel-robot-tests:

    jobs:
    - build-artifacts:
    - test-suit-1:
    post-steps:
    - persist-test-results
    - test-suit-2:
    post-steps:
    - persist-test-results
    - test-suit-3:
    post-steps:
    - persist-test-results
    - test-suit-3:
    post-steps:
    - persist-test-results
    - ROBOT-REPORT:
    requires:
    - test-suit-1
    - test-suit-2
    - test-suit-3
    - test-suit-4
    ignore_previous_fails: true
    pre-steps:
    - attach-test-results
    ```