Fix Julia, Lua, and OCaml test failures
- Julia: Rename test() to run_test() to avoid name collision - Julia: Use lambda syntax instead of do-block for cleaner execution - Lua: Fix signature format test - verify structure instead of counting colons - OCaml: Use apt-get instead of failing setup-ocaml@v2 action
This commit is contained in:
parent
a1eedc55ea
commit
dc29e64196
3 changed files with 44 additions and 64 deletions
15
.github/workflows/inception-matrix.yml
vendored
15
.github/workflows/inception-matrix.yml
vendored
|
|
@ -568,21 +568,16 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: ocaml/setup-ocaml@v2
|
||||
with:
|
||||
ocaml-compiler: 5
|
||||
- name: Install dependencies
|
||||
- name: Install OCaml
|
||||
run: |
|
||||
opam install -y cohttp-lwt-unix yojson digestif || true
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y ocaml
|
||||
- name: Run OCaml tests
|
||||
run: |
|
||||
eval $(opam env)
|
||||
ocaml str.cma unix.cma tests/test_un_ml.ml || true
|
||||
run: ocaml str.cma unix.cma tests/test_un_ml.ml || true
|
||||
- name: Integration test
|
||||
if: env.UNSANDBOX_PUBLIC_KEY != ''
|
||||
run: |
|
||||
eval $(opam env)
|
||||
ocaml un.ml test/fib.py 2>&1 | tee output.txt || true
|
||||
ocaml str.cma unix.cma un.ml test/fib.py 2>&1 | tee output.txt || true
|
||||
grep -q "fib(10) = 55" output.txt || echo "OCaml integration pending"
|
||||
|
||||
clojure:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue