mirror of
https://github.com/CatalaLang/catala.git
synced 2024-11-09 22:16:10 +03:00
adding the parsing code to the CI.
This commit is contained in:
parent
13685b3fce
commit
290e67ea7e
@ -224,6 +224,16 @@ let run_test_aides_logement () =
|
||||
exit (-1)
|
||||
| Runtime.AssertionFailed _ -> ()
|
||||
|
||||
let _test =
|
||||
let _ = run_test_aides_logement () in
|
||||
let raw_events = Runtime.retrieve_log () in
|
||||
Runtime.EventParser.parse_raw_events raw_events
|
||||
|
||||
let _test =
|
||||
let _ = run_test_allocations_familiales () in
|
||||
let raw_events = Runtime.retrieve_log () in
|
||||
Runtime.EventParser.parse_raw_events raw_events
|
||||
|
||||
let _bench =
|
||||
Random.init (int_of_float (Unix.time ()));
|
||||
let num_iter = 10000 in
|
||||
|
@ -25,3 +25,8 @@
|
||||
"A collection of functions for computing French taxes and benefits derived from Catala programs")
|
||||
(libraries catala.runtime_ocaml law_source)
|
||||
(modules api))
|
||||
|
||||
(rule
|
||||
(alias runtest)
|
||||
(action
|
||||
(run ./bench.exe)))
|
||||
|
Loading…
Reference in New Issue
Block a user