Skip to content

Commit

Permalink
Use julia 1.10 as default in CI (#1339)
Browse files Browse the repository at this point in the history
  • Loading branch information
lgoettgens authored Jan 9, 2024
1 parent e789599 commit 961afd7
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,16 @@ jobs:
matrix:
julia-version:
- '1.6'
- '1.9'
- '~1.10.0-0'
- '1.9' # to be removed in the near future
- '1.10'
- 'nightly'
os:
- ubuntu-latest
include:
# Add a few windows and macOS jobs (not too many, the number we can run in parallel is limited)
- julia-version: '1.9'
- julia-version: '1.10'
os: macOS-latest
- julia-version: '1.9'
- julia-version: '1.10'
os: windows-latest

steps:
Expand Down Expand Up @@ -75,7 +75,7 @@ jobs:
python-version: '3.x' # Version range or exact version of a Python version to use, using SemVer
- uses: julia-actions/setup-julia@v1
with:
version: '1.9'
version: '1.10'
- uses: julia-actions/cache@v1
- uses: julia-actions/julia-buildpkg@v1
- uses: julia-actions/julia-docdeploy@v1
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/CILong.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
fail-fast: false
matrix:
julia-version:
- 1.9
- '1.10'
julia-arch:
- x64
os:
Expand Down Expand Up @@ -62,7 +62,7 @@ jobs:
fail-fast: false
matrix:
julia-version:
- 1.9
- '1.10'
julia-arch:
- x64
os:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/oscar.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- name: "Set up Julia"
uses: julia-actions/setup-julia@v1
with:
version: '~1.9.0-0'
version: '1.10'
- name: OscarDevTools - CI
if: github.repository == 'oscar-system/OscarDevTools.jl'
run: |
Expand Down
6 changes: 3 additions & 3 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -304,11 +304,11 @@ else
end

# Run the doctests
if v"1.9.0" <= VERSION < v"1.10.0-"
@info "Running doctests (Julia version is 1.9)"
if v"1.10-" <= VERSION < v"1.11-"
@info "Running doctests (Julia version is 1.10)"
DocMeta.setdocmeta!(Hecke, :DocTestSetup, :(using Hecke); recursive = true)
doctest(Hecke)
else
@info "Not running doctests (Julia version must be 1.9)"
@info "Not running doctests (Julia version must be 1.10)"
end
end

0 comments on commit 961afd7

Please sign in to comment.