Skip to content

Commit

Permalink
Fix CI test
Browse files Browse the repository at this point in the history
  • Loading branch information
dometto committed Oct 24, 2023
1 parent c109a11 commit 017258b
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ on:
- main

jobs:

provide_scenarios:
runs-on: ubuntu-latest
steps:
Expand All @@ -28,17 +29,19 @@ jobs:
roles:
- 'playbooks/roles/**/**'
- id: set-playbooks-matrix
run: echo "matrix={\"playbooks\":${{ steps.changed-files.yaml.playbooks_all_changed_files }}" >> "$GITHUB_OUTPUT"
run: echo "playbooks=${{ steps.changed-files.yaml.playbooks_all_changed_files }}" >> "$GITHUB_OUTPUT"
- name: Debug
run: echo ${{ steps.changed-files-yaml.outputs.playbooks_all_changed_files }}
run: echo ${{ steps.changed-files-yaml.outputs.playbooks_all_changed_files }} && echo ${{ steps.set-playbooks-matrix.outputs.playbooks }}
outputs:
playbooks_matrix: ${{ steps.set-playbooks-matrix.outputs.matrix }}
playbooks_matrix: ${{ steps.set-playbooks-matrix.outputs.playbooks }}

molecule_playbooks:
needs: provide_scenarios
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix: ${{ fromJSON(needs.provide_scenarios.outputs.playbooks_matrix) }}
matrix:
playbooks: ${{ fromJSON(needs.provide_scenarios.outputs.playbooks) }}
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down

0 comments on commit 017258b

Please sign in to comment.