From d357f6d7b4c5b80032c7f4f07a83ece4dfc54ecf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Johannes=20W=C3=BCnsche?= <johannes@spacesnek.rocks>
Date: Tue, 23 Jan 2024 15:22:48 +0100
Subject: [PATCH] benchmarks: check poetry install for old old ubuntu

---
 .github/workflows/ci.yml | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 0cb470be..ab285a51 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -244,6 +244,11 @@ jobs:
           sudo apt update || true
           sudo apt --yes --no-install-recommends install python3-poetry
           cd betree/haura-benchmarks/haura-plots
-          poetry install
+          foo=$(poetry install)
+          if [ "$?" != 0 ]
+          then
+            poetry lock
+            poetry install
+          fi
           poetry run plots ../results/*
           rm -rf results