Skip to content

Commit

Permalink
fixing CI
Browse files Browse the repository at this point in the history
  • Loading branch information
brunobenchimol committed Nov 17, 2024
1 parent d47bbeb commit 2ad69d9
Showing 1 changed file with 28 additions and 25 deletions.
53 changes: 28 additions & 25 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out the codebase.
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
path: 'brunobenchimol.certbot_dns'

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

Expand All @@ -37,26 +37,26 @@ jobs:
- name: Lint code.
run: |
yamllint .
ansible-lint:
name: Ansible Lint
runs-on: ubuntu-latest
steps:
- name: Check out the codebase.
uses: actions/checkout@v2
with:
path: 'brunobenchimol.certbot_dns'

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

- name: Install test dependencies.
run: pip3 install ansible ansible-lint

- name: Lint code.
run: |
ansible-lint .
# ansible-lint:
# name: Ansible Lint
# runs-on: ubuntu-latest
# steps:
# - name: Check out the codebase.
# uses: actions/checkout@v2
# with:
# path: 'brunobenchimol.certbot_dns'

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

# - name: Install test dependencies.
# run: pip3 install ansible ansible-lint

# - name: Lint code.
# run: |
# ansible-lint .
molecule:
name: Molecule
runs-on: ubuntu-latest
Expand All @@ -78,6 +78,9 @@ jobs:
- distro: debian11
playbook: converge.yml
experimental: false
- distro: rockylinux9
playbook: converge.yml
experimental: false

# Source install started failing recently.
# - distro: centos7
Expand Down Expand Up @@ -105,17 +108,17 @@ jobs:

steps:
- name: Check out the codebase.
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
path: 'brunobenchimol.certbot_dns'

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

- name: Install test dependencies.
run: pip3 install ansible molecule[docker] docker
run: pip3 install ansible molecule molecule-plugins[docker] docker

- name: Run Molecule tests.
run: molecule test
Expand Down

0 comments on commit 2ad69d9

Please sign in to comment.