Skip to content

Commit

Permalink
FIXUP: Azure with pytest
Browse files Browse the repository at this point in the history
  • Loading branch information
rjeffman committed Jul 1, 2024
1 parent 10e28f3 commit 3a8430c
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion tests/azure/templates/playbook_fast.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,18 @@ jobs:
python utils/check_test_configuration.py ${{ parameters.scenario }}
displayName: Check scenario test configuration
- script: |
utils/setup_test_container.sh -e podman -p ${{ parameters target_python }} -i ${{ parameters.scenario }} ${{ parameter.scenario }}
displayName: Setup target container
- script: |
. utils/set_test_modules
utils/run-tests.sh -a -p ${{ parameters.target_python }} -i ${{ parameters.scenario }} -c ${{ parameters.scenario }}
pytest -m "playbook" --verbose --color=yes --suppress-no-test-exit-code --junit-xml=TEST-results-pr-check.xml
displayName: Run playbook tests
env:
ANSIBLE_ROLES_PATH: "./roles"
ANSIBLE_LIBRARY: "./plugins"
ANSIBLE_MODULE_UTILS: "./plugins/module_utils"
IPA_SERVER_HOST: ${{ parameters.scenario }}
RUN_TESTS_IN_DOCKER: podman
IPA_DISABLED_MODULES: ${{ variables.ipa_disabled_modules }}
Expand Down

0 comments on commit 3a8430c

Please sign in to comment.