Skip to content

Commit fc50dd8

Browse files
committed
debug ci
1 parent b960391 commit fc50dd8

File tree

2 files changed

+16
-2
lines changed

2 files changed

+16
-2
lines changed

test/new.jl

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1970,6 +1970,18 @@ end
19701970
Pkg.develop(path = simple_package_path)
19711971
Pkg.develop(path = unregistered_example_path)
19721972
rm(Pkg.project().path)
1973+
env = Pkg.Types.EnvCache()
1974+
@info "active_project" Base.active_project()
1975+
@info "project_file" env.project_file isfile(env.project_file)
1976+
@info "manifest_file" env.manifest_file isfile(env.manifest_file)
1977+
@info "manifest_names" Base.manifest_names
1978+
if isfile(env.manifest_file)
1979+
@info "manifest pkg names:"
1980+
m = Pkg.Types.read_manifest(env.manifest_file)
1981+
for (_, pkg) in m
1982+
println(" ", pkg.name, " ", pkg.uuid)
1983+
end
1984+
end
19731985
@test_throws PkgError Pkg.instantiate()
19741986
end
19751987
end

test/runtests.jl

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ module PkgTestsInner
2727
ENV["JULIA_PKG_PRECOMPILE_AUTO"] = 0
2828
ENV["JULIA_PKG_DISALLOW_PKG_PRECOMPILATION"] = 1
2929

30-
logdir = get(ENV, "JULIA_TEST_VERBOSE_LOGS_DIR", nothing)
30+
logdir = nothing # get(ENV, "JULIA_TEST_VERBOSE_LOGS_DIR", nothing)
3131
### Send all Pkg output to a file called Pkg.log
3232
islogging = logdir !== nothing
3333

@@ -36,7 +36,7 @@ module PkgTestsInner
3636
default_io = open(logfile, "a")
3737
@info "Pkg test output is being logged to file" logfile
3838
else
39-
default_io = devnull # or stdout
39+
default_io = stdout # devnull # or stdout
4040
end
4141

4242
include("utils.jl")
@@ -51,6 +51,7 @@ module PkgTestsInner
5151

5252
test_files = [
5353
"new.jl",
54+
#=
5455
"pkg.jl",
5556
"repl.jl",
5657
"api.jl",
@@ -68,6 +69,7 @@ module PkgTestsInner
6869
"workspaces.jl",
6970
"apps.jl",
7071
"stdlib_compat.jl",
72+
=#
7173
]
7274

7375
# Only test these if the test deps are available (they aren't typically via `Base.runtests`)

0 commit comments

Comments
 (0)