File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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:
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ QuantumAnnealing = "4832667a-bab9-40a8-88f6-be9efce3ea89"
1111Random = " 9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
1212
1313[compat ]
14- LinearSolve = " 3.82"
14+ LinearSolve = " 3.82, 4.2 "
1515QUBODrivers = " 0.6.1"
1616QuantumAnnealing = " 0.2"
1717julia = " 1.10"
Original file line number Diff line number Diff line change 11using Test
22import 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)
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" )
7983end
8084
You can’t perform that action at this time.
0 commit comments