Skip to content

Commit 6739288

Browse files
committed
fix(tests): install git in every tmachine environment
The CLI's sandbox upload runs git to apply .gitignore rules, and the file-transfer conformance tests create Git work trees. The tmachine conformance playbook installed git before its tests; the test runner path has no such step, and Fedora cloud images lack git. Install it during environment setup so it is cached in the setup disk. Signed-off-by: Evan Lezar <[email protected]>
1 parent 2e91679 commit 6739288

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

‎tests/ansible/playbooks/nextest.yaml‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,3 +50,11 @@
5050
- name: Verify cargo-nextest
5151
ansible.builtin.command: cargo-nextest --version
5252
changed_when: false
53+
54+
# The CLI's upload runs git to apply .gitignore rules, and the
55+
# file-transfer tests create Git work trees. Fedora cloud images lack git.
56+
- name: Install test dependencies
57+
ansible.builtin.package:
58+
name:
59+
- git
60+
state: present

0 commit comments

Comments
 (0)