Add test for Julia project.toml in binder subdirectory

pull/1216/head
Frankie Robertson 2022-11-08 14:50:07 +02:00
rodzic 61b76f622d
commit e99a106171
5 zmienionych plików z 77 dodań i 0 usunięć

Wyświetl plik

@ -0,0 +1,10 @@
# This file is machine-generated - editing it directly is not advised
julia_version = "1.8.2"
manifest_format = "2.0"
project_hash = "8a6b9faef104dfa92a55997106baee3560dc25bc"
[[deps.IteratorInterfaceExtensions]]
git-tree-sha1 = "a3f24677c21f5bbe9d2a714f95dcd58337fb2856"
uuid = "82899510-4779-5014-852e-03e436cf321d"
version = "1.0.0"

Wyświetl plik

@ -0,0 +1,2 @@
[deps]
IteratorInterfaceExtensions = "82899510-4779-5014-852e-03e436cf321d"

Wyświetl plik

@ -0,0 +1,36 @@
# This file is machine-generated - editing it directly is not advised
julia_version = "1.8.2"
manifest_format = "2.0"
project_hash = "663bcf2fe6af67425c484706d7562ccb3a370117"
[[deps.Adapt]]
deps = ["LinearAlgebra"]
git-tree-sha1 = "195c5505521008abea5aee4f96930717958eac6f"
uuid = "79e6a3ab-5dfb-504d-930d-738a2a938a0e"
version = "3.4.0"
[[deps.Artifacts]]
uuid = "56f22d72-fd6d-98f1-02f0-08ddc0907c33"
[[deps.CompilerSupportLibraries_jll]]
deps = ["Artifacts", "Libdl"]
uuid = "e66e0078-7015-5450-92f7-15fbd957f2ae"
version = "0.5.2+0"
[[deps.Libdl]]
uuid = "8f399da3-3557-5675-b5ff-fb832c97cbdb"
[[deps.LinearAlgebra]]
deps = ["Libdl", "libblastrampoline_jll"]
uuid = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
[[deps.OpenBLAS_jll]]
deps = ["Artifacts", "CompilerSupportLibraries_jll", "Libdl"]
uuid = "4536629a-c528-5b80-bd46-f80d51c5b363"
version = "0.3.20+0"
[[deps.libblastrampoline_jll]]
deps = ["Artifacts", "Libdl", "OpenBLAS_jll"]
uuid = "8e850b90-86db-534c-a0d3-1478176c7d93"
version = "5.1.1+0"

Wyświetl plik

@ -0,0 +1,2 @@
[deps]
Adapt = "79e6a3ab-5dfb-504d-930d-738a2a938a0e"

Wyświetl plik

@ -0,0 +1,27 @@
#!/usr/bin/env julia
if VERSION != v"1.8.2"
println("Julia version should be 1.8.2")
exit(1)
end
# Verify that the environment variables are set correctly for julia 1.0+
@assert "julia" ∈ readdir(Sys.BINDIR)
try
# Test that the package was installed.
using Adapt
catch
println("Should be able to load Adapt")
exit(1)
end
try
using IteratorInterfaceExtensions
# Test that the package was not installed.
println("Should not be able to load IteratorInterfaceExtensions")
exit(1)
catch
end
exit(0)