mirror of
https://github.com/TREX-CoE/qmckl.git
synced 2025-01-03 01:56:18 +01:00
Added tests to CI
This commit is contained in:
parent
fe3f30ebba
commit
3377b056df
2
.github/workflows/test-build.yml
vendored
2
.github/workflows/test-build.yml
vendored
@ -16,4 +16,4 @@ jobs:
|
|||||||
- name: install dependencies
|
- name: install dependencies
|
||||||
run: sudo apt-get install emacs
|
run: sudo apt-get install emacs
|
||||||
- name: make
|
- name: make
|
||||||
run: make -C src/
|
run: make -C src/ test
|
||||||
|
@ -67,6 +67,7 @@ test_%: test_%.c
|
|||||||
-I../munit/ ../munit/munit.c test_\$*.c -lqmckl -o test_\$*
|
-I../munit/ ../munit/munit.c test_\$*.c -lqmckl -o test_\$*
|
||||||
|
|
||||||
test: libqmckl.so \$(TESTS)
|
test: libqmckl.so \$(TESTS)
|
||||||
|
for i in \$(TESTS) ; do ./\$\$i ; done
|
||||||
|
|
||||||
.PHONY: test
|
.PHONY: test
|
||||||
EOF
|
EOF
|
||||||
|
Loading…
Reference in New Issue
Block a user