Skip to content

Commit 1f0f70d

Browse files
dploegerDennis Ploeger
authored andcommitted
chore: Optimized test workflow
1 parent 3b6178c commit 1f0f70d

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

.github/workflows/test.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,11 @@ jobs:
2727
run: |
2828
python -m pip install --upgrade pip
2929
pip install -r requirements.txt -r requirements-dev.txt
30-
- name: Run test
31-
run: |
32-
cd test
33-
python -m ansible.cli.playbook playbook.yaml -i default/inventory.yaml -e expected_records=21 -vvv
34-
LOKI_ENABLED_DUMPS=play python -m ansible.cli.playbook playbook.yaml -i default/inventory.yaml -e expected_records=27 -vvv
30+
- name: Run default test
31+
working-directory: test
32+
run: python -m ansible.cli.playbook playbook.yaml -i default/inventory.yaml -e expected_records=21 -vvv
33+
- name: Run dump configuration test
34+
working-directory: test
35+
env:
36+
LOKI_ENABLED_DUMPS: play
37+
run: python -m ansible.cli.playbook playbook.yaml -i default/inventory.yaml -e expected_records=21 -vvv

0 commit comments

Comments
 (0)