Skip to content

Commit

Permalink
chore: Optimized test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
dploeger committed Aug 16, 2024
1 parent 2c37c3b commit 311a6c1
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,11 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt -r requirements-dev.txt
- name: Run test
run: |
cd test
python -m ansible.cli.playbook playbook.yaml -i default/inventory.yaml -e expected_records=21 -vvv
LOKI_ENABLED_DUMPS=play python -m ansible.cli.playbook playbook.yaml -i default/inventory.yaml -e expected_records=27 -vvv
- name: Run default test
working-directory: test
run: python -m ansible.cli.playbook playbook.yaml -i default/inventory.yaml -e expected_records=21 -vvv
- name: Run dump configuration test
working-directory: test
env:
LOKI_ENABLED_DUMPS: play
run: python -m ansible.cli.playbook playbook.yaml -i default/inventory.yaml -e expected_records=21 -vvv

0 comments on commit 311a6c1

Please sign in to comment.