From 019a35c761713ad1f1b6be8a25d59f7c8f3d2cee Mon Sep 17 00:00:00 2001 From: Mary Jo Ramos Date: Fri, 26 Mar 2021 16:12:13 -0500 Subject: [PATCH] Restrict doctests to Julia 1.5 --- .github/workflows/CI.yml | 2 +- test/runtests.jl | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 647b951..ad057fb 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -82,7 +82,7 @@ jobs: - uses: actions/checkout@v2 - uses: julia-actions/setup-julia@v1 with: - version: '1' + version: '1.5' - run: | julia --project=docs -e ' using Pkg diff --git a/test/runtests.jl b/test/runtests.jl index 1c119f1..4dae7e4 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -25,6 +25,6 @@ include("test_data_setup.jl") include("JLSOFile.jl") include("file_io.jl") - # Don't worry if our doctests don't match on different architectures or julia releases. - Sys.WORD_SIZE == 64 && VERSION >= v"1.5" && doctest(JLSO) + # The doctests fail on x86, so only run them on 64-bit hardware & Julia 1.5 + Sys.WORD_SIZE == 64 && v"1.5" <= VERSION < v"1.6" && doctest(JLSO) end