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