File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed
Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -182,8 +182,9 @@ prepare+:
182182 fi
183183 done
184184 # remove irrelevant files
185- - rm -f "$COLLECTIONS_ROLES_DIR"/.pandoc_template-ha_cluster.html5
186- - rm -rf "$COLLECTIONS_ROLES_DIR"/tmt-*
185+ - rm -fv "$COLLECTIONS_ROLES_DIR"/.pandoc_template-ha_cluster.html5
186+ # remove tmt-* files so they don't cause failures in various linters
187+ - rm -rfv "$COLLECTIONS_ROLES_DIR"/tmt-*
187188
188189 - name: Download 'woke' from GitHub
189190 when: ci-dependencies is not defined or ci-dependencies == github
Original file line number Diff line number Diff line change @@ -35,9 +35,14 @@ adjust+:
3535
3636 /ansible_test:
3737 summary: Run ansible-test
38+ # For an unknown reason, with a new version of TMT, tmt-* files started
39+ # appearing in the collection dir. They interfere with the linter, as they
40+ # don't follow the rules the linter enforces. Therefore, we remove them to
41+ # prevent false failures.
3842 test: |
3943 source "$PYENV_ROOT/bin/activate" &&
4044 cd "$COLLECTIONS_ROLES_DIR" &&
45+ rm -rfv ./tmt-* &&
4146 ansible-test --version &&
4247 ansible-test sanity -v --color=yes --truncate=0 --no-redact --coverage --docker # wokeignore:rule=sanity
4348
You can’t perform that action at this time.
0 commit comments