Skip to content

Commit

Permalink
Merge pull request #20 from ConScape/andreasnoack-patch-1
Browse files Browse the repository at this point in the history
Test on oldest supported version, lts, current, and prereleases
  • Loading branch information
andreasnoack authored Oct 28, 2024
2 parents c6d8e3d + 9aae50f commit d6ce248
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 8 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,10 @@ jobs:
fail-fast: false
matrix:
version:
- '1.6'
- 'min'
- 'lts'
- '1'
# - 'nightly'
- 'pre'
os:
- ubuntu-latest
arch:
Expand Down
8 changes: 4 additions & 4 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ version = "0.2.4"
[deps]
ArnoldiMethod = "ec485272-7323-5ecc-a04f-4719b315124d"
DelimitedFiles = "8bb1440f-4735-579b-a4ab-409b98df4dab"
Graphs = "86223c79-3864-5bf0-83f7-82e725a168b6"
LaTeXStrings = "b964fa9f-0449-5b57-a5c2-d3ea65f4040f"
LightGraphs = "093fc24a-ae57-5d10-9952-331d41423f4d"
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
Plots = "91a5bcdd-55d7-5caf-9e0b-520d859cae80"
ProgressLogging = "33c8b6b6-d38a-422a-b730-caa89a2f386c"
Expand All @@ -17,9 +17,9 @@ Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
[compat]
ArnoldiMethod = "0.0.4, 0.4"
DelimitedFiles = "1"
Graphs = "1"
LaTeXStrings = "1.1"
LightGraphs = "1.3"
Plots = "= 1.4"
Plots = "1.4"
ProgressLogging = "0.1"
SimpleWeightedGraphs = "1.1"
julia = "1.3"
julia = "1.9"
2 changes: 1 addition & 1 deletion src/ConScape.jl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module ConScape

using SparseArrays, LinearAlgebra
using LightGraphs, Plots, SimpleWeightedGraphs, ProgressLogging, ArnoldiMethod
using Graphs, Plots, SimpleWeightedGraphs, ProgressLogging, ArnoldiMethod

abstract type ConnectivityFunction <: Function end
abstract type DistanceFunction <: ConnectivityFunction end
Expand Down
2 changes: 1 addition & 1 deletion src/grid.jl
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ julia> ConScape.is_strongly_connected(grid)
false
```
"""
LightGraphs.is_strongly_connected(g::Grid) = is_strongly_connected(SimpleWeightedDiGraph(g.affinities))
Graphs.is_strongly_connected(g::Grid) = is_strongly_connected(SimpleWeightedDiGraph(g.affinities))

"""
largest_subgraph(g::Grid)::Grid
Expand Down

0 comments on commit d6ce248

Please sign in to comment.