Use the the original PostgreSQL configuration file #194
Workflow file for this run
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: Molecule | |
# yamllint disable-line rule:truthy | |
on: | |
push: | |
pull_request: | |
schedule: | |
- cron: '29 21 * * 0' | |
jobs: | |
list-scenarios: | |
runs-on: ubuntu-22.04 | |
outputs: | |
matrix: ${{ steps.listscenarios.outputs.scenarios }} | |
steps: | |
- uses: actions/checkout@v3 | |
- id: listscenarios | |
uses: ome/action-ansible-molecule-list-scenarios@main | |
test: | |
name: Test | |
needs: | |
- list-scenarios | |
runs-on: ubuntu-22.04 | |
strategy: | |
# Keep running so we can see if other tests pass | |
fail-fast: false | |
matrix: | |
scenario: ${{fromJson(needs.list-scenarios.outputs.matrix)}} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: '3.9' | |
- name: Install Ansible & Molecule | |
run: pip install "ansible<8" ansible-lint flake8 \ | |
"molecule<5" molecule-plugins[docker] pytest-testinfra \ | |
"ansible-compat<4" | |
- name: Run molecule | |
run: molecule test -s "${{ matrix.scenario }}" | |
publish: | |
name: Galaxy | |
if: startsWith(github.ref, 'refs/tags') | |
needs: | |
- test | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: galaxy | |
uses: ansible-actions/ansible-galaxy-action@v1.2.0 | |
with: | |
galaxy_api_key: ${{ secrets.GALAXY_API_KEY }} | |
galaxy_version: ${{ github.ref_name }} |