Skip to content

Commit

Permalink
Drop pre-LTS Julia support (#311)
Browse files Browse the repository at this point in the history
This allows us to simplify CI, since we can run the oldest supported Julia
version on aarch64 macos, and also allows us to mark const field const.

Also, remove various downstream tests:
    - BioStructures.jl does not depend on BioSequences.jl directly, but has it
      as a weakdep. And the current downstream tests cannot tests weakdeps.
    - GenomicAnnotation.jl contains a Base piracy which breaks the package on
      Julia 1.10
    - PhyloNetworks, since it makes CI take 1h+
    - The remaining two are not compatible with Julia 1.10 or Julia 1.11.
  • Loading branch information
jakobnissen authored Oct 17, 2024
1 parent af67daf commit 6d0e5ae
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 21 deletions.
5 changes: 0 additions & 5 deletions .github/workflows/Downstream.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,21 +19,16 @@ jobs:
package:
- {user: bioinfologics, repo: Pseudoseq.jl, group: BioSequences}
- {user: BioJulia, repo: BioAlignments.jl, group: BioSequences}
- {user: BioJulia, repo: BioStructures.jl, group: BioSequences}
- {user: BioJulia, repo: FASTX.jl, group: BioSequences}
- {user: BioJulia, repo: GenomeGraphs.jl, group: BioSequences}
- {user: BioJulia, repo: GenomicAnnotations.jl, group: BioSequences}
- {user: BioJulia, repo: GFF3.jl, group: BioSequences}
- {user: BioJulia, repo: KmerAnalysis.jl, group: BioSequences}
- {user: BioJulia, repo: ReadDatastores.jl, group: BioSequences}
- {user: BioJulia, repo: TwoBit.jl, group: BioSequences}
- {user: BioJulia, repo: XAM.jl, group: BioSequences}
- {user: crsl4, repo: PhyloNetworks.jl, group: BioSequences}
- {user: JuliaHealth, repo: CAOS.jl, group: BioSequences}
- {user: nguyetdang, repo: BioGraph.jl, group: BioSequences}
- {user: vanOosterhoutLab, repo: SpeedDate.jl, group: BioSequences}
- {user: varnerlab, repo: JUGRNModelGenerator.jl, group: BioSequences}
- {user: varnerlab, repo: VLConstraintBasedModelGenerationUtilities.jl, group: BioSequences}
steps:
- uses: actions/checkout@v2
- uses: julia-actions/setup-julia@v1
Expand Down
16 changes: 1 addition & 15 deletions .github/workflows/UnitTests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@ jobs:
strategy:
fail-fast: false
matrix:
julia-version:
- '1'
julia-version: ['1', '1.10']
os: [ubuntu-latest, macOS-latest, windows-latest]
experimental: [false]
include:
Expand All @@ -22,19 +21,6 @@ jobs:
os: ubuntu-latest
experimental: true
fail_ci_if_error: false
# Windows is extremely slow on 1.6, so we skip this combination,
# since it increases CI time by 5x
- julia-version: '1.7'
os: windows-latest
experimental: false
# Oldest supported version
- julia-version: '1.5'
os: ubuntu-latest
experimental: false
# MacOS Aarch64 reached Tier1 support of Julia in version 1.9
- julia-version: '1.9'
os: macOS-latest
experimental: false

steps:
- name: Checkout Repository
Expand Down
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ PrecompileTools = "1"
Random = "1.5"
StableRNGs = "0.1, 1.0"
Twiddle = "1.1.1"
julia = "1.5"
julia = "1.10"

[extras]
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
Expand Down

0 comments on commit 6d0e5ae

Please sign in to comment.