Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Actually make sure conda env dir is set on Buildkite CI #1392

Merged
merged 5 commits into from
Mar 16, 2023
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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ steps:
version: "1.6"
- JuliaCI/julia-test#v1: ~
command:
- mkdir -p "${JULIA_DEPOT_PATH}/conda/3/x86_64"
- mkdir -p "$${JULIA_DEPOT_PATH}/conda/3/x86_64"
agents:
queue: "juliagpu"
cuda: "*"
Expand All @@ -17,7 +17,7 @@ steps:
version: "1"
- JuliaCI/julia-test#v1: ~
command:
- mkdir -p "${JULIA_DEPOT_PATH}/conda/3/x86_64"
- mkdir -p "$${JULIA_DEPOT_PATH}/conda/3/x86_64"
agents:
queue: "juliagpu"
cuda: "*"
Expand Down
3 changes: 2 additions & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ julia = "1.6"

[extras]
Colors = "5ae59095-9a9b-59fe-a467-6f913c188581"
Conda = "8f4d0f93-b110-5947-807f-2305c1781a2d"
CUDA = "052768ef-5323-5732-b1bb-66c8b64840ba"
ChainRulesTestUtils = "cdddcdb0-9152-4a09-a978-84456f9df70a"
Distances = "b4f34e82-e78d-54a5-968a-f98e89d6e8f7"
Expand All @@ -71,4 +72,4 @@ Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
Tracker = "9f7883ad-71c0-57eb-9f7f-b5c9e6d3789c"

[targets]
test = ["ChainRulesTestUtils", "CUDA", "Distances", "FFTW", "FiniteDifferences", "PyCall", "Test"]
test = ["ChainRulesTestUtils", "Conda", "CUDA", "Distances", "FFTW", "FiniteDifferences", "PyCall", "Test"]
4 changes: 4 additions & 0 deletions test/features.jl
Original file line number Diff line number Diff line change
Expand Up @@ -682,6 +682,10 @@ end
end

@testset "PyCall custom @adjoint" begin
# Trigger Python install if required. Required for Buildkite CI!
import Conda
Conda.list()

import PyCall
math = PyCall.pyimport("math")
pysin(x) = math.sin(x)
Expand Down