Skip to content

Commit

Permalink
ansile_core_version
Browse files Browse the repository at this point in the history
  • Loading branch information
dgibbs64 committed Jun 6, 2024
1 parent d9b3256 commit b6dfd58
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions .github/workflows/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,28 +54,27 @@ jobs:
- ubuntu2004
- ubuntu2204
- ubuntu2404
ansible_version:
- 2.13
ansible_core_version:
- 2.16
- latest
exclude:
- distro: rockylinux8
ansible_version: latest
ansible_core_version: latest
- distro: ubuntu1804
ansible_version: latest
ansible_core_version: latest
- distro: opensuseleap15
ansible_version: latest
ansible_core_version: latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Install test dependencies (specific version)
run: pip3 install ansible-core==${{ matrix.ansible_version }} molecule-plugins[docker] jmespath
if: matrix.ansible_version != 'latest'
run: pip3 install ansible-core==${{ matrix.ansible_core_version }} molecule-plugins[docker] jmespath
if: matrix.ansible_core_version != 'latest'

- name: Install test dependencies (latest version)
run: pip3 install ansible-core molecule-plugins[docker] jmespath
if: matrix.ansible_version == 'latest'
if: matrix.ansible_core_version == 'latest'

- name: Secrets to env
uses: oNaiPs/secrets-to-env-action@v1.5
Expand Down

0 comments on commit b6dfd58

Please sign in to comment.