Skip to content

Commit

Permalink
Merge pull request #364 from jacobdotcosta/fix-requirements-snowdrop-…
Browse files Browse the repository at this point in the history
…cloud_infra-version

fix: requiremrnts version for the snowdrop.cloud_infra
  • Loading branch information
jacobdotcosta authored Jan 4, 2024
2 parents a126009 + 0e28c43 commit cceda83
Show file tree
Hide file tree
Showing 3 changed files with 72 additions and 1 deletion.
39 changes: 39 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
---
name: CI
on:
push:

jobs:

install-requirements:
name: Test installation of the project requirements
runs-on: ubuntu-latest
strategy:
matrix:
python: [ 3.11 ]
steps:
- name: Checkout project
uses: actions/checkout@v3

- name: Install Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}
cache: pip

- name: Install python requirements
run: |
pip install -r requirements.txt
pip install -r molecule/requirements.txt
ansible-galaxy collection install -r collections/requirements.yml --upgrade
- name: Print configuration versions
run: |
pip freeze
ansible-galaxy collection list
# - name: Run role tests
# run: |
# molecule test --scenario-name github

...
32 changes: 32 additions & 0 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,38 @@ on:
pull_request:

jobs:

install-requirements:
name: Test installation of the project requirements
runs-on: ubuntu-latest
strategy:
matrix:
python: [ 3.11 ]
steps:
- name: Checkout project
uses: actions/checkout@v3

- name: Install Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}
cache: pip

- name: Install python requirements
run: |
pip install -r requirements.txt
pip install -r molecule/requirements.txt
ansible-galaxy collection install -r collections/requirements.yml --upgrade
- name: Print configuration versions
run: |
pip freeze
ansible-galaxy collection list
# - name: Run role tests
# run: |
# molecule test --scenario-name github

kind-test:
name: Test Kind Deployment
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion collections/requirements.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
collections:
- name: snowdrop.cloud_infra
version: 2.1.0
version: 2.0.1

- name: openstack.cloud
version: 2.1.0
Expand Down

0 comments on commit cceda83

Please sign in to comment.