Skip to content

Commit

Permalink
Drop compatibility with pre-LTS versions
Browse files Browse the repository at this point in the history
  • Loading branch information
adrhill committed Oct 10, 2024
1 parent b833691 commit 12954c2
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 19 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
version:
- 'lts'
- '1'
# - 'pre' # TODO: tests on pre-release version
- 'pre'
steps:
- uses: actions/checkout@v4
- uses: julia-actions/setup-julia@v2
Expand Down
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ Reexport = "1"
Statistics = "<0.0.1, 1"
XAIBase = "4"
Zygote = "0.6"
julia = "1.6"
julia = "1.10"
1 change: 0 additions & 1 deletion src/ExplainableAI.jl
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ using DifferentiationInterface: value_and_pullback
using Zygote
const DEFAULT_AD_BACKEND = AutoZygote()

include("compat.jl")
include("bibliography.jl")
include("input_augmentation.jl")
include("gradient.jl")
Expand Down
12 changes: 0 additions & 12 deletions src/compat.jl

This file was deleted.

1 change: 0 additions & 1 deletion test/Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,5 @@ JuliaFormatter = "98e50ef6-434e-11e9-1051-2b60c6c9e899"
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
ReferenceTests = "324d217c-45ce-50fc-942e-d289b448e8cf"
Suppressor = "fd094767-a336-5f1f-9728-57cf17d0bbfb"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
XAIBase = "9b48221d-a747-4c1b-9860-46a1d8ba24a7"
5 changes: 2 additions & 3 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,13 @@ using Aqua
using JET

@testset "ExplainableAI.jl" begin
if VERSION >= v"1.10"
@info "Testing formalities..."
@testset verbose=true "Linting" begin
@testset "Code formatting" begin
@info "- running JuliaFormatter code formatting tests..."
@test JuliaFormatter.format(ExplainableAI; verbose=false, overwrite=false)
end
@testset "Aqua.jl" begin
@info "- running Aqua.jl tests. These might print warnings from dependencies..."
@info "- running Aqua.jl tests..."
Aqua.test_all(ExplainableAI; ambiguities=false)
end
@testset "JET tests" begin
Expand Down

0 comments on commit 12954c2

Please sign in to comment.