Skip to content

Commit

Permalink
Integration testing
Browse files Browse the repository at this point in the history
  • Loading branch information
davestephens committed Sep 10, 2022
1 parent 29260a5 commit 2854182
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 11 deletions.
12 changes: 4 additions & 8 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
outputs:
matrix: ${{ steps.set-matrix.outputs.matrix }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- id: set-matrix
shell: bash
run: "tests/github-test-matrix.sh"
Expand All @@ -26,17 +26,13 @@ jobs:
matrix:
role: ${{ fromJson(needs.generate-matrix.outputs.matrix) }}
steps:
- name: Dump env context
id: env_context_step
run: env
- name: Dump GitHub context
id: github_context_step
run: echo '${{ toJSON(github) }}'
- uses: actions/checkout@v3
- name: Molecule
uses: gofrolist/molecule-action@v2
with:
molecule_options: --base-config ../../tests/molecule/base.yml
molecule_command: test
molecule_working_dir: /github/workspace/${{ matrix.role }}
molecule_working_dir: ${{ matrix.role }}
env:
PY_COLORS: '1'
ANSIBLE_FORCE_COLOR: '1'
6 changes: 3 additions & 3 deletions tests/molecule/base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ platforms:
privileged: true
provisioner:
name: ansible
config_options:
defaults:
stdout_callback: dense
# config_options:
# defaults:
# stdout_callback: dense
inventory:
group_vars:
all:
Expand Down

0 comments on commit 2854182

Please sign in to comment.