From 79a7e100883947123f8263c5f06e6c0ea3eb972f Mon Sep 17 00:00:00 2001 From: Sascha Mann Date: Fri, 7 Apr 2023 14:51:09 +0200 Subject: [PATCH] Add missing version check to test_harness (#81) #79 introduced a version requirement for annotations for installing the dependencies but not for the code that adds the annotations, resulting in a dependency error for certain versions. Fixes #80 --- test_harness.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test_harness.jl b/test_harness.jl index 1d823f6..0f667e6 100644 --- a/test_harness.jl +++ b/test_harness.jl @@ -4,7 +4,7 @@ kwargs = Kwargs.kwargs(; coverage=ENV["COVERAGE"], force_latest_compatible_version=ENV["FORCE_LATEST_COMPATIBLE_VERSION"], julia_args=[string("--check-bounds=", ENV["CHECK_BOUNDS"])]) -if parse(Bool, ENV["ANNOTATE"]) && VERSION > v"1.8pre" +if parse(Bool, ENV["ANNOTATE"]) && v"1.8pre" < VERSION < v"1.9.0-beta3" push!(LOAD_PATH, "@tests-logger-env") # access dependencies using GitHubActions, Logging global_logger(GitHubActionsLogger())