• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

Zilliqa / scilla / 3067
61%

Build:
DEFAULT BRANCH: master
Ran 29 Aug 2022 01:09PM UTC
Jobs 4
Files 44
Run time 31min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
3067

push

travis-ci-com

web-flow
scilla-fmt: Scilla source code formatter and AST S-expression formatter (#1161)

* feat: scilla-fmt -- CLI formatter for Scilla

* tests(formatter): add look-and-feel cram tests

* feat(formatter): dump S-expressions

This commit introduces AST annotation mapper module.
It's used to map location annotations to unit values,
essentially erasing these before ASTs as S-expressions.

CLI options:
- `--sexp`: dump S-expression representation of AST instead of
  formatting source code;
- `--deannot`: remove AST annotations for S-expression dumps
- `--human-readable`: dump human-readable S-expressions

* tests(formatter): add AST preservation tests

The Scilla test contracts and expressions are copied from existing
typechecker and evaluator tests.

* fix(tests): make cram-tests more robust

Sometimes dune does not understand it needs to rerun tests.
Looks like because the formatter cram tests do not specify
the scilla-fmt binary as its dependency and it's not clear how to do
that.

8 of 8 new or added lines in 1 file covered. (100.0%)

4304 of 7156 relevant lines covered (60.15%)

52535.69 hits per line

Jobs
ID Job ID Ran Files Coverage
1 3067.1 (OCAML_VERSION=4.14.0) 29 Aug 2022 01:09PM UTC 0
60.15
Travis Job 3067.1
2 3067.2 (OCAML_VERSION=4.11.2) 29 Aug 2022 01:09PM UTC 0
60.15
Travis Job 3067.2
3 3067.3 (OCAML_VERSION=4.14.0) 29 Aug 2022 01:10PM UTC 0
60.15
Travis Job 3067.3
4 3067.4 (OCAML_VERSION=4.11.2) 29 Aug 2022 01:40PM UTC 0
60.15
Travis Job 3067.4
Source Files on build 3067
Detailed source file information is not available for this build.
  • Back to Repo
  • Build #3067
  • bf081c3e on github
  • Prev Build on master (#3048)
  • Next Build on master (#3069)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc