Skip to content

Commit

Permalink
build fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mikemorency committed May 22, 2024
1 parent 124ab91 commit 8a89973
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,8 @@ jobs:
run: |
python3 -m venv .venv
source .venv/bin/activate
pwd
make integration
working-directory: ansible_collections/cloud/vmware_ops
env:
ANSIBLE_COLLECTIONS_PATH: "/home/runner/work/cloud.vmware_ops/cloud.vmware_ops"
ANSIBLE_COLLECTIONS_PATH: "${{ github.workspace }}"
ANSIBLE_PYTHON_INTERPRETER: "/home/runner/work/cloud.vmware_ops/cloud.vmware_ops/ansible_collections/cloud/vmware_ops/.venv/bin/python3"
8 changes: 8 additions & 0 deletions tests/integration/targets/cluster_settings_test/run.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
- hosts: localhost
gather_facts: no
# vars:
# ansible_python_interpreter: "/home/runner/work/cloud.vmware_ops/cloud.vmware_ops/ansible_collections/cloud/vmware_ops/.venv/bin/python3"
collections:
- community.general

Expand All @@ -8,6 +10,12 @@
ansible.builtin.import_role:
name: prepare_soap

- debug:
var: ansible_python_interpreter

- command: >-
"{{ ansible_python_interpreter }} -m pip freeze"
- name: Import provision VM role
ansible.builtin.import_role:
name: cluster_settings_test

0 comments on commit 8a89973

Please sign in to comment.