Skip to content

Commit

Permalink
Do not print 'running phase ...' when compact mode is on (#1577)
Browse files Browse the repository at this point in the history
* do not print 'running phase ...' when compact mode is on

* add cache sbt
  • Loading branch information
samuelchassot authored Sep 6, 2024
1 parent 2fc16b6 commit 5c8f674
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/stainless-CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ jobs:
with:
distribution: temurin
java-version: 17
cache: sbt
- name: Install solvers
run: ./stainless-ci.sh --install-solvers $GITHUB_WORKSPACE/.local/bin
- name: Add solvers to PATH
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/stainless-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ jobs:
with:
distribution: temurin
java-version: 17
cache: sbt
- name: Install solvers
run: ./stainless-ci.sh --install-solvers $GITHUB_WORKSPACE/.local/bin
- name: Add solvers to PATH
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,8 @@ class NamedPipeline private(override val name: String, override val context: ino
// `extract` is a wrapper around `super.extract` which outputs trees for
// debugging and which outputs position checks
override def extract(symbols: s.Symbols): (t.Symbols, ExtractionSummary) = debug { syms =>
context.reporter.emit(context.reporter.ProgressMessage(context.reporter.INFO, PhaseExtractionTag, s"Running phase $name"))
if !isCompactModeOn(using context) then
context.reporter.emit(context.reporter.ProgressMessage(context.reporter.INFO, PhaseExtractionTag, s"Running phase $name"))
context.timers.extraction.get(name).run(underlying.extract(syms))
} (symbols)
}
Expand Down

0 comments on commit 5c8f674

Please sign in to comment.