Skip to content

Commit

Permalink
Add missing version check to test_harness (#81)
Browse files Browse the repository at this point in the history
#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
  • Loading branch information
SaschaMann committed Apr 7, 2023
1 parent 1aec431 commit 79a7e10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test_harness.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand Down

0 comments on commit 79a7e10

Please sign in to comment.