Workflow job requirements by a pattern

workflow

#1

Hello, I have made a workflow job for combining test coverage from several testing jobs on which it depends. Currently I run tests for each Python version but I would ideally want to run separate job for each python-django combo as I used to do with Travis-CI matrix. It’s possible to setup it but it’s quite tedious to specify job dependencies. It would be great if one could just specify required job name as a pattern as one does for branches:

workflows:
  version: 2
  tests-and-coverage:
    jobs:
      - py27-django20
      - py34-django20
      - py35-django20
      - py36-django20
      ...
      - coverage:
          requires:
            - /^py.*/

#3

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.