Skip to content

Commit

Permalink
bump julia compat to 1.6 and add 1.6 to CI (#141)
Browse files Browse the repository at this point in the history
* add julia 1.3 to CI

* bump julia compat to 1.6

* fix parsing error on julia 1.6
  • Loading branch information
Krastanov authored Sep 14, 2023
1 parent 032dd82 commit ee6330d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ jobs:
exclude:
- os: macOS-latest
arch: x86
include:
- os: ubuntu-latest
arch: x64
version: '1.6'
steps:
- uses: actions/checkout@v4
- uses: julia-actions/setup-julia@v1
Expand Down
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ LRUCache = "1"
QuantumInterface = "0.3.0"
Strided = "1, 2"
UnsafeArrays = "1"
julia = "1.3"
julia = "1.6"

[extras]
Adapt = "79e6a3ab-5dfb-504d-930d-738a2a938a0e"
Expand Down
2 changes: 1 addition & 1 deletion test/test_time_dependent_operators.jl
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ end
op_stretch_block_shift = time_stretch(op_block_shift, 2.0)
@test @inferred QOB.eval_coefficients(op_stretch_block_shift, 9.9) == (0.0, 0.0)
@test @inferred QOB.eval_coefficients(op_stretch_block_shift, 10.0) == (1.0, -5.0)
@test @inferred QOB.eval_coefficients(op_stretch_block_shift, 30.0-√eps()) == (1.0, 5.0-0.5eps())
@test @inferred QOB.eval_coefficients(op_stretch_block_shift, 30.0-√eps()) == (1.0, 5.0-0.5*eps())
@test @inferred QOB.eval_coefficients(op_stretch_block_shift, 30.0) == (0.0, 0.0)

op_block = time_restrict(op, 15.0)
Expand Down

0 comments on commit ee6330d

Please sign in to comment.