Skip to content

Commit d9e65a7

Browse files
authored
Merge pull request #24 from JuliaQUBO/dependabot/julia/root-julia-dependencies-d37b48051c
build(deps): update LinearSolve requirement from 3.82 to 3.82, 4.2 in the root-julia-dependencies group
2 parents 7fbc5cd + 6033f58 commit d9e65a7

3 files changed

Lines changed: 14 additions & 4 deletions

File tree

.github/workflows/ci.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,12 @@ jobs:
3434
- uses: julia-actions/cache@v3
3535
- uses: julia-actions/julia-buildpkg@v1
3636
- uses: julia-actions/julia-runtest@v1
37+
if: matrix.version != '1' || matrix.os != 'windows-latest'
38+
- uses: julia-actions/julia-runtest@v1
39+
if: matrix.version == '1' && matrix.os == 'windows-latest'
40+
env:
41+
# Parallel precompilation can stall on the large SciML dependency graph.
42+
JULIA_NUM_PRECOMPILE_TASKS: 1
3743
# - uses: julia-actions/julia-processcoverage@v1
3844
# - uses: codecov/codecov-action@v2
3945
# with:

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ QuantumAnnealing = "4832667a-bab9-40a8-88f6-be9efce3ea89"
1111
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
1212

1313
[compat]
14-
LinearSolve = "3.82"
14+
LinearSolve = "3.82, 4.2"
1515
QUBODrivers = "0.6.1"
1616
QuantumAnnealing = "0.2"
1717
julia = "1.10"

test/runtests.jl

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
using Test
22
import TOML
33

4+
_compat_entries(value::AbstractString) = strip.(split(value, ','))
5+
46
@testset "README installation docs" begin
57
readme = read(joinpath(dirname(@__DIR__), "README.md"), String)
68
installation = findfirst("## Installation", readme)
@@ -70,11 +72,13 @@ end
7072
project = TOML.parsefile(joinpath(root, "Project.toml"))
7173
deps = project["deps"]
7274
compat = project["compat"]
75+
linearsolve_compat = _compat_entries(compat["LinearSolve"])
7376

74-
@test compat["QUBODrivers"] == "0.6.1"
77+
@test "0.6.1" in _compat_entries(compat["QUBODrivers"])
7578
@test haskey(deps, "LinearSolve")
76-
@test compat["LinearSolve"] == "3.82"
77-
@test compat["LinearSolve"] != "=3.82.0"
79+
@test "3.82" in linearsolve_compat
80+
@test "4.2" in linearsolve_compat
81+
@test all(entry -> !startswith(entry, "="), linearsolve_compat)
7882
@test haskey(deps, "Random")
7983
end
8084

0 commit comments

Comments
 (0)