From 08c3209dbc06329b4566ddd8d1dd7ab1c7e28ed7 Mon Sep 17 00:00:00 2001 From: Torsten Grote Date: Fri, 24 Jul 2020 11:09:30 -0300 Subject: Add CI config for Gitlab CI integration tests (bash and pytest) --- .gitlab-ci.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .gitlab-ci.yml (limited to '.gitlab-ci.yml') diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 000000000..9eef833c9 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,26 @@ +image: "registry.gitlab.com/gnu-taler/docker-taler-ci:latest" + +before_script: + - pg_ctlcluster 12 main start + +integration_tests_legacy: + script: + - cd integrationtests + - ./test-base.sh + - ./test-double-link.sh + - ./test-double-spend.sh + - ./test-recoup.sh + - ./test-refund.sh + - ./test-retries.sh + - ./test-withdrawal.sh + allow_failure: true + +integration_tests: + script: + - ./bootstrap + - ./configure + - make install + - pytest -rP tests/ + +after_script: + - pg_ctlcluster 12 main stop -- cgit v1.2.3