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.
CircleCi - conditional jobs would make every body happy

simlified .circleci/config.yml

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_status: true
              pre-steps:
                  - attach-test-results
@testautomation
Copy link
Author

image

@testautomation
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment