Skip to content

Commit

Permalink
buildkite fixes (#229)
Browse files Browse the repository at this point in the history
  • Loading branch information
Krastanov authored Jan 27, 2024
1 parent 3c796e7 commit 1b9db49
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 10 deletions.
29 changes: 20 additions & 9 deletions .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,23 @@ steps:
- JuliaCI/julia-test#v1: ~
- JuliaCI/julia-coverage#v1:
codecov: true
# command: |
# julia -e '
# using Pkg
# Pkg.add("QuantumSavory")
# Pkg.build("QuantumSavory")
# Pkg.test("QuantumSavory")
# Pkg.add("BPGates")
# Pkg.build("BPGates")
# Pkg.test("BPGates")'
command:
- echo "Julia depot path $${JULIA_DEPOT_PATH}"
- mkdir -p "$${JULIA_DEPOT_PATH}/conda/3/x86_64"
- julia --project='~' -e '
using Pkg;
ENV["PYTHON"] = "";
Pkg.add("Conda");
Pkg.add("PyCall");
Pkg.build("PyCall");
println("and now we dev the current package");
pkg"dev .";'
- julia --project='~' -e '
using Pkg;
ENV["PYTHON"] = "";
Pkg.add("QuantumSavory");
Pkg.build("QuantumSavory");
Pkg.test("QuantumSavory");
Pkg.add("BPGates");
Pkg.build("BPGates");
Pkg.test("BPGates");'
1 change: 1 addition & 0 deletions test/Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595"
ArrayInterface = "4fba245c-0d91-5ea0-9b3e-6abc04ee57a9"
CUDA = "052768ef-5323-5732-b1bb-66c8b64840ba"
Combinatorics = "861a8166-3701-5b0c-9a16-15d98fcdc6aa"
Conda = "8f4d0f93-b110-5947-807f-2305c1781a2d"
DocStringExtensions = "ffbed154-4ef7-542d-bbb7-c09d3a79fcae"
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
DotEnv = "4dc1fcf4-5e3b-5448-94ab-0c38ec0385c1"
Expand Down
9 changes: 8 additions & 1 deletion test/test_ecc_decoder_all_setups.jl
Original file line number Diff line number Diff line change
@@ -1,8 +1,15 @@
using Test
using QuantumClifford
using QuantumClifford.ECC
import PyQDecoders

@testset "is Conda ok" begin
# Trigger Python install if required. Required for Buildkite CI!
import Conda
Conda.list()
end

# Run this only after checking Conda works
import PyQDecoders

@testset "table decoder" begin
codes = [
Expand Down

0 comments on commit 1b9db49

Please sign in to comment.