mirror of
https://github.com/davestephens/ansible-nas
synced 2025-01-12 11:38:47 +00:00
Run integration tests daily
This commit is contained in:
parent
1206c56185
commit
af4f74f966
1 changed files with 6 additions and 3 deletions
9
.github/workflows/integration.yml
vendored
9
.github/workflows/integration.yml
vendored
|
@ -3,9 +3,11 @@ name: Integration
|
|||
|
||||
# Controls when the action will run.
|
||||
on:
|
||||
# Allows you to run this workflow manually from the Actions tab
|
||||
schedule:
|
||||
- cron: '0 23 * * *'
|
||||
workflow_dispatch:
|
||||
|
||||
|
||||
jobs:
|
||||
generate-matrix:
|
||||
name: Generate test matrix
|
||||
|
@ -14,7 +16,8 @@ jobs:
|
|||
matrix: ${{ steps.set-matrix.outputs.matrix }}
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- id: set-matrix
|
||||
- name: Generate Test Matrix
|
||||
id: set-matrix
|
||||
shell: bash
|
||||
run: "tests/github-test-matrix.sh"
|
||||
|
||||
|
@ -27,7 +30,7 @@ jobs:
|
|||
role: ${{ fromJson(needs.generate-matrix.outputs.matrix) }}
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Molecule
|
||||
- name: Molecule Test
|
||||
uses: gofrolist/molecule-action@v2
|
||||
with:
|
||||
molecule_options: --base-config ../../tests/molecule/base.yml
|
||||
|
|
Loading…
Reference in a new issue