From 0445cde9c6b72238e204045acd3eb81d8adcbb50 Mon Sep 17 00:00:00 2001 From: Simon Branford <4967+branfosj@users.noreply.github.com> Date: Fri, 10 May 2024 18:26:24 +0100 Subject: [PATCH 1/2] do not run unit tests on Python 3.5 --- .github/workflows/unit_tests.yml | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/.github/workflows/unit_tests.yml b/.github/workflows/unit_tests.yml index b1cf6dc64a..69165889aa 100644 --- a/.github/workflows/unit_tests.yml +++ b/.github/workflows/unit_tests.yml @@ -13,12 +13,12 @@ jobs: runs-on: ubuntu-20.04 strategy: matrix: - python: [3.5, 3.6, 3.7, 3.8, 3.9, '3.10', '3.11'] + python: [3.6, 3.7, 3.8, 3.9, '3.10', '3.11'] modules_tool: [Lmod-6.6.3, Lmod-7.8.22, Lmod-8.1.14, modules-tcl-1.147, modules-3.2.10, modules-4.1.4] module_syntax: [Lua, Tcl] # exclude some configuration for non-Lmod modules tool: # - don't test with Lua module syntax (only supported in Lmod) - # - don't test with Python 3.5 and 3.7+ (only with 3.6), to limit test configurations + # - don't test with Python 3.7+ (only with 3.6), to limit test configurations exclude: - modules_tool: modules-tcl-1.147 module_syntax: Lua @@ -26,8 +26,6 @@ jobs: module_syntax: Lua - modules_tool: modules-4.1.4 module_syntax: Lua - - modules_tool: modules-tcl-1.147 - python: 3.5 - modules_tool: modules-tcl-1.147 python: 3.7 - modules_tool: modules-tcl-1.147 @@ -37,9 +35,6 @@ jobs: - modules_tool: modules-tcl-1.147 python: '3.10' - modules_tool: modules-tcl-1.147 - python: '3.11' - - modules_tool: modules-3.2.10 - python: 3.5 - modules_tool: modules-3.2.10 python: 3.7 - modules_tool: modules-3.2.10 @@ -50,8 +45,6 @@ jobs: python: '3.10' - modules_tool: modules-3.2.10 python: '3.11' - - modules_tool: modules-4.1.4 - python: 3.5 - modules_tool: modules-4.1.4 python: 3.7 - modules_tool: modules-4.1.4 From 7f3bc6f933dad3896ac348fdc2fdc54211f37b3c Mon Sep 17 00:00:00 2001 From: Simon Branford <4967+branfosj@users.noreply.github.com> Date: Fri, 10 May 2024 18:44:22 +0100 Subject: [PATCH 2/2] restore accidentally deleted line --- .github/workflows/unit_tests.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/unit_tests.yml b/.github/workflows/unit_tests.yml index 69165889aa..3cd95ff88d 100644 --- a/.github/workflows/unit_tests.yml +++ b/.github/workflows/unit_tests.yml @@ -35,6 +35,7 @@ jobs: - modules_tool: modules-tcl-1.147 python: '3.10' - modules_tool: modules-tcl-1.147 + python: '3.11' - modules_tool: modules-3.2.10 python: 3.7 - modules_tool: modules-3.2.10