我的drone.yml 中有一个矩阵,但它只能在我的管道步骤之一上运行。是否可以仅将矩阵应用于某些步骤?
例如,我不希望矩阵应用于publish
步骤:
pipeline:
test:
image: ruby
commands:
- bundle exec rspec ${TESTFOLDER}
publish:
image: ruby
commands:
- magic-publish
matrix:
TESTFOLDER:
- integration/user
- integration/shopping_cart
- integration/payments
- units