Fix molecule tests which spontaneously broke, and add noble 22.04 to … #40
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
--- | |
on: | |
# Trigger the workflow on push or pull request, | |
# but only for the main branch | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
schedule: | |
- cron: '5 4 */14 * *' # Twice / month, at 4:05 AM. | |
jobs: | |
# lint: | |
# runs-on: ubuntu-20.04 | |
# steps: | |
# - name: checkout | |
# uses: actions/checkout@v4 | |
# - name: ansible-lint | |
# uses: ansible-community/ansible-lint-action@main | |
test: | |
# needs: | |
# - lint | |
runs-on: ubuntu-20.04 | |
strategy: | |
fail-fast: true | |
matrix: | |
config: | |
- image: "ubuntu" | |
tag: "latest" # latest == noble, as of this writing. | |
- image: "ubuntu" | |
tag: "jammy" | |
# - image: "ubuntu" | |
# tag: "focal" # Service start times out in molecule tests. No idea why. :-( | |
steps: | |
- name: checkout | |
uses: actions/checkout@v4 | |
with: | |
path: "${{ github.repository }}" | |
- name: molecule | |
uses: robertdebock/[email protected] | |
with: | |
image: ${{ matrix.config.image }} | |
tag: ${{ matrix.config.tag }} |