Skip to content

Commit

Permalink
Add CI Molecule PostgresPro
Browse files Browse the repository at this point in the history
#38
schedule:
Check once a week.
  • Loading branch information
vitabaks committed May 20, 2020
1 parent 04a6742 commit fda313f
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/molecule_pgpro.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
---
# yamllint disable rule:truthy

name: Molecule PostgresPro

on:
schedule:
- cron: '0 0 * * 0'

jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
distro:
- centos8
- centos7

steps:
- name: checkout
uses: actions/checkout@v2

- name: Set up Python 3
uses: actions/setup-python@v2
with:
python-version: '3.x'

- name: Install dependencies
run: pip3 install molecule docker ansible

- name: Run Molecule tests for PostgresPro
run: molecule test --scenario-name posgrespro
env:
PY_COLORS: '1'
ANSIBLE_FORCE_COLOR: '1'
MOLECULE_DISTRO: ${{ matrix.distro }}

...

0 comments on commit fda313f

Please sign in to comment.