Skip to content

Commit

Permalink
NFC clean-ups.
Browse files Browse the repository at this point in the history
  • Loading branch information
maleadt committed Jan 7, 2025
1 parent 116ddae commit c182326
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions src/jobs/PkgEvalJob.jl
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,7 @@ function process_results!(job::PkgEvalJob, builds::Dict, all_tests::DataFrame, r
node = myid()
cfg = submission(job).config

nodelog(cfg, node, "proccessing results...")
nodelog(cfg, node, "processing results...")
for (whichbuild, build) in builds
tests = all_tests[(all_tests[!, :configuration] .== whichbuild), :]
results[whichbuild] = tests
Expand Down Expand Up @@ -522,7 +522,7 @@ function process_results!(job::PkgEvalJob, builds::Dict, all_tests::DataFrame, r
end
end
end
nodelog(cfg, node, "finished proccessing results")
nodelog(cfg, node, "finished processing results")
end

########################
Expand Down Expand Up @@ -557,6 +557,7 @@ function test_julia!(job::PkgEvalJob, builds::Dict, base_configs::Dict, results:

# run tests
all_tests = withenv("CI" => true) do
# the CI env var changes PkgEval's progress reporting
cpus = mycpus(submission(job).config)
results["duration"] = @elapsed if pkgs !== nothing
tests = PkgEval.evaluate(configs, pkgs; ninstances=length(cpus), blacklist)
Expand Down Expand Up @@ -648,6 +649,7 @@ function test_package!(job::PkgEvalJob, builds::Dict, base_configs::Dict, result

# run tests
all_tests = withenv("CI" => true) do
# the CI env var changes PkgEval's progress reporting
cpus = mycpus(submission(job).config)
results["duration"] = @elapsed if pkgs !== nothing
tests = PkgEval.evaluate(configs, pkgs; ninstances=length(cpus), blacklist)
Expand Down
2 changes: 1 addition & 1 deletion test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ primary_commit = GitHub.commits(repo; auth, page_limit=1)[1][10]
against_commit = GitHub.commits(repo; auth, page_limit=1)[1][11]
primary = BuildRef(repo, primary_commit.sha, primary_commit.commit.committer.date)
against = BuildRef(repo, against_commit.sha, against_commit.commit.committer.date)
config = Config("user", Dict(Any => [getpid()]), auth, "test");
config = Config("user", Dict(Any => [getpid()]), auth, "test")
tagpred = "ALL && !(\"tag1\" || \"tag2\")"
pkgsel = ["Example"]

Expand Down

0 comments on commit c182326

Please sign in to comment.