File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change 25
25
# This provides a dedicated "check" to asynchronously test all integration tests within the tests/ directory
26
26
# The project name from the tests/ directory is then re-used within the "qa" job to run the generated "container"
27
27
# within that directory.
28
- run : cd tests; echo "matrix=[\"$(ls -d * | tr '\n' ' ' | sed 's/ $//' | sed 's/ /\",\"/g')\"]" >> $GITHUB_OUTPUT
28
+ run : |
29
+ cd tests;
30
+ echo 'matrix<<EOF' >> $GITHUB_OUTPUT
31
+ echo "[\"$(ls -d * | tr '\n' ' ' | sed 's/ $//' | sed 's/ /\",\"/g')\"]" >> $GITHUB_OUTPUT
32
+ echo 'EOF' >> $GITHUB_OUTPUT
29
33
30
34
container :
31
35
name : Prepare docker container
@@ -89,14 +93,16 @@ jobs:
89
93
- name : " Output generated matrix"
90
94
uses : sergeysova/jq-action@v2
91
95
with :
92
- cmd : " jq . < <(echo '${{ steps.matrix_generation.outputs.matrix }}')"
96
+ multiline : true
97
+ cmd : " jq . < <(echo '${{ steps.matrix_generation.outputs.matrix }}')"
93
98
94
99
- name : Minify matrix from test directory
95
100
uses : sergeysova/jq-action@v2
96
101
id : expected_matrix
97
102
env :
98
103
PROJECT_NAME_TO_TEST : ${{ matrix.projectName }}
99
104
with :
105
+ multiline : true
100
106
cmd : ' jq -c . < tests/${PROJECT_NAME_TO_TEST}/matrix.json'
101
107
102
108
- name : " verify output of generated matrix for project: ${{ matrix.projectName }}"
You can’t perform that action at this time.
0 commit comments