Skip to content

Commit

Permalink
Merge pull request #103 from invenia/mjr/fix-doctests
Browse files Browse the repository at this point in the history
Restrict doctests to Julia 1.5
  • Loading branch information
rofinn authored Mar 26, 2021
2 parents 5defe62 + 019a35c commit dbf7be6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit dbf7be6

Please sign in to comment.