Skip to content

Commit

Permalink
adding script to create matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
crysmags committed Sep 24, 2024
1 parent 604ddd1 commit c3ba75a
Show file tree
Hide file tree
Showing 5 changed files with 897 additions and 127 deletions.
17 changes: 13 additions & 4 deletions .github/workflows/plugins.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,10 @@ jobs:
- uses: codecov/codecov-action@v3

amqp10: # TODO: move rhea to its own job
needs:
- versions
strategy:
matrix: ${{fromJson(needs.versions.outputs.matrices).matrices.amqp10}}
runs-on: ubuntu-latest
services:
qpid:
Expand All @@ -121,16 +125,18 @@ jobs:
PLUGINS: amqp10|rhea
SERVICES: qpid
DD_DATA_STREAMS_ENABLED: true
PACKAGE_VERSION_RANGE: ${{ matrix.range }}
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/plugins/test-and-upstream
- run: |
echo $strategy.matrix
amqplib:
needs:
- versions
strategy:
matrix:
range: ['0.10.4' ]
matrix: ${{fromJson(needs.versions.outputs.matrices).matrices.amqplib}}
runs-on: ubuntu-latest
services:
rabbitmq:
Expand All @@ -140,17 +146,20 @@ jobs:
env:
PLUGINS: amqplib
SERVICES: rabbitmq
PACKAGE_VERSION_RANGE: ${{ matrix.range }}
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/plugins/test-and-upstream

apollo:
needs:
- versions
strategy:
matrix:
range: ['2.9.0']
matrix: ${{fromJson(needs.versions.outputs.matrices).matrices.apollo}}
runs-on: ubuntu-latest
env:
PLUGINS: apollo
PACKAGE_VERSION_RANGE: ${{ matrix.range }}
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/plugins/test-and-upstream
Expand Down
Loading

0 comments on commit c3ba75a

Please sign in to comment.