
Create matrix for the supported versions and frameworks
| Name |
Description |
Required |
Default |
versions-file |
The YAML file with the versions. Being VERSION the key for the list |
true |
|
frameworks-file |
The YAML file with the frameworks. Being FRAMEWORK the key for the list |
true |
|
excluded-file |
The YAML file with the excluded tuples. Being exclude the key for the list of tuples (VERSION, FRAMEWORK) |
false |
|
| Name |
Description |
matrix |
Processed matrix with the required tuples of version and framework |
on:
push:
permissions:
contents: read
jobs:
create-test-matrix:
runs-on: ubuntu-latest
outputs:
matrix: ${{ steps.generate.outputs.matrix }}
steps:
- uses: actions/checkout@v4
- id: generate
uses: elastic/oblt-actions/version-framework@v1
with:
versions-file: .ci/.ruby.yml
frameworks-file: .ci/.main_framework.yml
excluded-file: .ci/.exclude.yml
test:
needs:
- create-test-matrix
runs-on: ubuntu-latest
strategy:
fail-fast: false
max-parallel: 20
matrix: ${{ fromJSON(needs.create-test-matrix.outputs.matrix) }}
steps:
- uses: actions/checkout@v4
[..]