Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,13 @@ jobs:
strategy:
fail-fast: false
matrix:
include:
- version: '1'
os: ubuntu-latest
arch: x64
include:
- version: '1.10'
os: ubuntu-latest
arch: x64
- version: '1'
os: ubuntu-latest
arch: x64
- version: '1'
os: windows-latest
arch: x64
Expand Down
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Changelog

## Unreleased

- Raised the Julia compatibility floor from 1.9 to 1.10.
- Updated QUBODrivers compatibility to 0.4 and QUBOTools compatibility to 0.12.
- Updated CI coverage to test Julia 1.10 and latest stable Julia.
6 changes: 3 additions & 3 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ QUBOTools = "60eb5b62-0a39-4ddc-84c5-97d2adff9319"
MQLib_jll = "0.1"
MathOptInterface = "1"
Printf = "1"
QUBOTools = "0.10.1, 0.11"
QUBODrivers = "0.3.3"
julia = "1.9"
QUBOTools = "0.12"
QUBODrivers = "0.4"
julia = "1.10"
1 change: 1 addition & 0 deletions test/Project.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
[deps]
TOML = "fa267f1f-6049-4f14-aa54-33bafae1ed76"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
15 changes: 15 additions & 0 deletions test/runtests.jl
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import Test
import TOML
import MQLib
import MQLib: MOI, QUBODrivers

Expand All @@ -13,6 +14,20 @@ function first_available_tool(names::Vector{String})
return nothing
end

Test.@testset "Compatibility metadata" begin
root = dirname(dirname(@__FILE__))
project = TOML.parsefile(joinpath(root, "Project.toml"))
compat = project["compat"]

Test.@test compat["julia"] == "1.10"
Test.@test compat["QUBODrivers"] == "0.4"
Test.@test compat["QUBOTools"] == "0.12"

ci = read(joinpath(root, ".github", "workflows", "ci.yml"), String)
Test.@test occursin(r"version:\s*'1\.10'", ci)
Test.@test occursin(r"version:\s*'1'", ci)
end

Test.@testset "QUBODrivers" begin
QUBODrivers.test(MQLib.Optimizer) do model
MOI.set(model, MOI.Silent(), true)
Expand Down
Loading