Run integration tests daily

This commit is contained in:
David Stephens 2022-09-10 12:52:22 +01:00
parent 1206c56185
commit af4f74f966

View file

@ -3,9 +3,11 @@ name: Integration
# Controls when the action will run. # Controls when the action will run.
on: on:
# Allows you to run this workflow manually from the Actions tab schedule:
- cron: '0 23 * * *'
workflow_dispatch: workflow_dispatch:
jobs: jobs:
generate-matrix: generate-matrix:
name: Generate test matrix name: Generate test matrix
@ -14,7 +16,8 @@ jobs:
matrix: ${{ steps.set-matrix.outputs.matrix }} matrix: ${{ steps.set-matrix.outputs.matrix }}
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- id: set-matrix - name: Generate Test Matrix
id: set-matrix
shell: bash shell: bash
run: "tests/github-test-matrix.sh" run: "tests/github-test-matrix.sh"
@ -27,7 +30,7 @@ jobs:
role: ${{ fromJson(needs.generate-matrix.outputs.matrix) }} role: ${{ fromJson(needs.generate-matrix.outputs.matrix) }}
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- name: Molecule - name: Molecule Test
uses: gofrolist/molecule-action@v2 uses: gofrolist/molecule-action@v2
with: with:
molecule_options: --base-config ../../tests/molecule/base.yml molecule_options: --base-config ../../tests/molecule/base.yml