From c7bd0dc22aa25738e94aed42a5d70fb706e59ebe Mon Sep 17 00:00:00 2001
From: ale <ale@incal.net>
Date: Thu, 2 Jan 2025 18:28:19 +0100
Subject: [PATCH] Fix

---
 test/integration-test.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/test/integration-test.yml b/test/integration-test.yml
index 11878109..8a403fd0 100644
--- a/test/integration-test.yml
+++ b/test/integration-test.yml
@@ -30,14 +30,14 @@
       slurp:
         src: "/artifacts/pytest.xml"
       register: pytest_xml
-      when: "pytest_xml_stat and pytest_xml_stat.exists"
+      when: "pytest_xml_stat.exists | default(False)"
 
     - name: Store test results locally
       local_action:
         module: copy
         dest: "pytest.xml"
         content: "{{ pytest_xml['content'] | b64decode }}"
-      when: "pytest_xml_stat and pytest_xml_stat.exists"
+      when: "pytest_xml_stat.exists | default(False)"
 
   vars:
     test_image: "registry.git.autistici.org/ai3/float:integration-test"
-- 
GitLab