Merge pull request #4 from jacobdotcosta/default_auto_floating_ip_false #5
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
--- | |
name: CI | |
on: | |
push: | |
jobs: | |
unit_test: | |
name: Build and Install Collection | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python: [ 3.11 ] | |
roles: [openstack_vm] | |
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 | |
- name: Print configuration versions | |
run: | | |
pip freeze | |
ansible-galaxy collection list | |
- name: Build Ansible Collection | |
run: | | |
pwd | |
ansible-galaxy collection build . --output build/ --force | |
- name: Install Ansible Collection | |
run: | | |
ansible-galaxy collection install build/snowdrop-cloud_infra-$(yq -r .version galaxy.yml).tar.gz --upgrade | |
... |