Skip to content

Try out matrix

Try out matrix #14

Workflow file for this run

name: Test IPs
on: [push]
jobs:
Prepare-Tests-Matrix:
runs-on: ubuntu-latest
outputs:
test: ${{ steps.set-tests-matrix.outputs.test }}
steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: Set Tests Matrix
id: set-tests-matrix
run: echo "test=$(python3 ./.github/scripts/get_tests_matrix.py)" >> "$GITHUB_OUTPUT"
Test1:
runs-on: ubuntu-latest
needs: [Prepare-Tests-Matrix]
name: IP '${{ matrix.tests.name }}' Test '${{ matrix.tests.test }}'
strategy:
fail-fast: false
matrix: ${{ fromJSON(needs.Prepare-Tests-Matrix.outputs.test) }}
steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: Print Matrix
run: ${{ needs.Prepare-Tests-Matrix.outputs.test }}