feat: add matrix to integration-test workflow (#7)

This commit is contained in:
Damien Retzinger
2022-06-26 12:56:54 -04:00
parent dd1a36b234
commit fb1ac5f41a
3 changed files with 67 additions and 50 deletions
@@ -17,11 +17,22 @@ on:
- ".github/workflows/integration.yaml"
jobs:
compute_matrix:
runs-on: ubuntu-latest
outputs:
matrix: ${{ steps.supported-version.outputs.matrix }}
steps:
- uses: actions/checkout@v2
- uses: ./supported-version
id: supported-version
- run: echo ${{ steps.supported-version.outputs.matrix }}
integration-workflow:
needs: compute_matrix
uses: ./.github/workflows/integration.yaml
with:
package_name: graycore/magento2-demo-package
source_folder: $GITHUB_WORKSPACE/_test/demo-package
matrix: ${{ needs.compute_matrix.outputs.matrix }}
test_command: ../../../vendor/bin/phpunit ../../../vendor/graycore/magento2-demo-package/Test/Integration
secrets:
composer_auth: ${{ secrets.COMPOSER_AUTH }}