test: add end-to-end test for accessing 'needs' in a dynamic matrix
This commit is contained in:
parent
be5b4438fa
commit
c385f60337
1 changed files with 3 additions and 0 deletions
|
|
@ -47,3 +47,6 @@ jobs:
|
|||
set -x
|
||||
[ "${{ matrix.dimension-1 }}" = "d1 v1" ] || [ "${{ matrix.dimension-1 }}" = "d1 v2" ] || exit 1
|
||||
[ "${{ matrix.dimension-2 }}" = "d2 v1" ] || [ "${{ matrix.dimension-2 }}" = "d2 v2" ] || exit 1
|
||||
|
||||
# should still be able to access other needs references unrelated to the dynamic matrix of this job
|
||||
[ "${{ needs.define-matrix.outputs.scalar-value }}" = "scalar value" ] || exit 1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue