Integration #814
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Integration | |
# Controls when the action will run. | |
on: | |
schedule: | |
- cron: '0 23 * * *' | |
workflow_dispatch: | |
jobs: | |
generate-matrix: | |
name: Generate test matrix | |
runs-on: ubuntu-latest | |
outputs: | |
matrix: ${{ steps.set-matrix.outputs.matrix }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Generate Test Matrix | |
id: set-matrix | |
shell: bash | |
run: "tests/github-test-matrix.sh" | |
test: | |
name: "Test ${{ matrix.role }}" | |
needs: generate-matrix | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
role: ${{ fromJson(needs.generate-matrix.outputs.matrix) }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Molecule Test | |
uses: gofrolist/molecule-action@dfbfd1af6a77523c8a937a1532f92808065a00a4 | |
with: | |
molecule_options: --base-config ../../tests/molecule/base.yml | |
molecule_command: test | |
molecule_working_dir: ${{ matrix.role }} | |
env: | |
PY_COLORS: '1' | |
ANSIBLE_FORCE_COLOR: '1' |