@@ -35,40 +35,45 @@ jobs:
3535 outputs :
3636 dirs-to-lint : ${{ steps.set-matrix.outputs.dirs-to-lint }}
3737 dirs-to-test : ${{ steps.set-matrix.outputs.dirs-to-test }}
38+ test-matrix : ${{ steps.set-matrix.outputs.test-matrix }}
39+ lint-matrix : ${{ steps.set-matrix.outputs.lint-matrix }}
3840 lint :
39- name : cd ${{ matrix.working-directory }}
41+ name : cd ${{ matrix.config. working-directory }}
4042 needs : [ build ]
41- if : ${{ needs.build.outputs.dirs-to- lint != '[]' }}
43+ if : ${{ needs.build.outputs.lint-matrix != '[]' }}
4244 strategy :
4345 matrix :
44- working-directory : ${{ fromJson(needs.build.outputs.dirs-to- lint) }}
46+ config : ${{ fromJson(needs.build.outputs.lint-matrix ) }}
4547 uses : ./.github/workflows/_lint.yml
4648 with :
47- working-directory : ${{ matrix.working-directory }}
49+ working-directory : ${{ matrix.config.working-directory }}
50+ python-versions : ${{ matrix.config.python-versions }}
4851 secrets : inherit
4952
5053 test :
51- name : cd ${{ matrix.working-directory }}
54+ name : cd ${{ matrix.config. working-directory }}
5255 needs : [ build ]
53- if : ${{ needs.build.outputs.dirs-to- test != '[]' }}
56+ if : ${{ needs.build.outputs.test-matrix != '[]' }}
5457 strategy :
5558 matrix :
56- working-directory : ${{ fromJson(needs.build.outputs.dirs-to- test) }}
59+ config : ${{ fromJson(needs.build.outputs.test-matrix ) }}
5760 uses : ./.github/workflows/_test.yml
5861 with :
59- working-directory : ${{ matrix.working-directory }}
62+ working-directory : ${{ matrix.config.working-directory }}
63+ python-versions : ${{ matrix.config.python-versions }}
6064 secrets : inherit
6165
6266 compile-integration-tests :
63- name : cd ${{ matrix.working-directory }}
67+ name : cd ${{ matrix.config. working-directory }}
6468 needs : [ build ]
65- if : ${{ needs.build.outputs.dirs-to- test != '[]' }}
69+ if : ${{ needs.build.outputs.test-matrix != '[]' }}
6670 strategy :
6771 matrix :
68- working-directory : ${{ fromJson(needs.build.outputs.dirs-to- test) }}
72+ config : ${{ fromJson(needs.build.outputs.test-matrix ) }}
6973 uses : ./.github/workflows/_compile_integration_test.yml
7074 with :
71- working-directory : ${{ matrix.working-directory }}
75+ working-directory : ${{ matrix.config.working-directory }}
76+ python-versions : ${{ matrix.config.python-versions }}
7277 secrets : inherit
7378 ci_success :
7479 name : " CI Success"
0 commit comments