From 10d4acc849b17b8904dbe2d78f99f09e351d362e Mon Sep 17 00:00:00 2001 From: Ian Pittwood Date: Thu, 30 May 2024 09:12:47 -0600 Subject: [PATCH] Update r-session-complete tests for >=2024.7 preview compatibility --- r-session-complete/test/goss.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/r-session-complete/test/goss.yaml b/r-session-complete/test/goss.yaml index 0cf72448..1c7bf336 100644 --- a/r-session-complete/test/goss.yaml +++ b/r-session-complete/test/goss.yaml @@ -6,8 +6,8 @@ file: /usr/local/bin/jupyter: exists: true {{ $version_split := split "." .Env.RSW_VERSION }} - {{ if or (lt ($version_split._0 | atoi) 2022) (and (eq ($version_split._0 | atoi) 2022) (lt ($version_split._1 | atoi) 12)) }} - /opt/code-server/bin/code-server: + {{ if or (ge ($version_split._0 | atoi) 2025) (and (ge ($version_split._0 | atoi) 2024) (ge ($version_split._1 | atoi) 7)) }} + /usr/lib/rstudio-server/bin/pwb-code-server/bin/code-server: exists: true {{ else }} /usr/lib/rstudio-server/bin/code-server/bin/code-server: