Skip to content

Commit

Permalink
Merge pull request #42 from andreygubarev/ansible-version
Browse files Browse the repository at this point in the history
ansible version compatibility testing
  • Loading branch information
andreygubarev authored May 10, 2024
2 parents 4b42e0b + 8d1139c commit 5946d43
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/ansible-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,11 @@ permissions:
jobs:
test:
runs-on: ubuntu-latest

strategy:
matrix:
version:
- "8.0"
- "9.0"
steps:
- uses: actions/checkout@v4

Expand All @@ -19,6 +23,7 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: '3.x'
cache: 'pipenv'

- name: Install pipenv
run: pip install pipenv
Expand All @@ -31,5 +36,6 @@ jobs:
- name: Run test
run: |
direnv allow .
direnv exec . pipenv install ansible~=${{ matrix.version }}
direnv exec . ansible-galaxy collection install -r requirements.yml
direnv exec . make test-platform-amd64
6 changes: 3 additions & 3 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ name = "pypi"

[packages]
build = "*"
molecule = ">=5.0.0"
molecule = "~=5.0"

[dev-packages]
ansible-lint = ">=24.0.0,<25.0.0"
pycodestyle = ">=2.00.0,<3.00.0"
ansible-lint = "~=24.0"
pycodestyle = "~=2.0"

[requires]
python_version = "3.12"

0 comments on commit 5946d43

Please sign in to comment.