From 88eb3f9143e88cf0e0448ec3d16eb3a13f3ef853 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Wed, 15 Jun 2022 21:59:09 +0800 Subject: [PATCH] add simple ci test --- tests/smoke/runtest.sh | 6 ++++++ tests/tests.yml | 11 +++++++++++ 2 files changed, 17 insertions(+) create mode 100755 tests/smoke/runtest.sh create mode 100644 tests/tests.yml diff --git a/tests/smoke/runtest.sh b/tests/smoke/runtest.sh new file mode 100755 index 0000000..2c8c03e --- /dev/null +++ b/tests/smoke/runtest.sh @@ -0,0 +1,6 @@ +#!/bin/sh + +set -e + +echo 'main = return ()' > test.hs +ghc test.hs && ./test diff --git a/tests/tests.yml b/tests/tests.yml new file mode 100644 index 0000000..c238f24 --- /dev/null +++ b/tests/tests.yml @@ -0,0 +1,11 @@ +--- +- hosts: localhost + tags: + - classic + roles: + - role: standard-test-basic + required_packages: + - ghc + tests: + - smoke +...