This commit is contained in:
Arnaud 2026-05-19 11:45:20 +04:00
parent d3204bee73
commit f7993b02bf
No known key found for this signature in database
GPG Key ID: A6C7C781817146FA

View File

@ -23,7 +23,13 @@ jobs:
run: nimble setup -y
- name: Unit tests
run: nimble test
# same reason as integration tests: nimble exits with code 0 even on failure.
run: |
cmake -B vendor/libplum/build -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=OFF vendor/libplum
cmake --build vendor/libplum/build
cp vendor/libplum/build/libplum.a vendor/libplum/libplum.a
nim c -o:tests/test_plum tests/test_plum.nim
./tests/test_plum
- name: Integration tests
# we call docker directly instead of nimble testIntegration because nimble