add simple ci test

This commit is contained in:
Jens Petersen 2022-06-15 21:59:09 +08:00
parent aafa21cdc2
commit 88eb3f9143
2 changed files with 17 additions and 0 deletions

6
tests/smoke/runtest.sh Executable file
View File

@ -0,0 +1,6 @@
#!/bin/sh
set -e
echo 'main = return ()' > test.hs
ghc test.hs && ./test

11
tests/tests.yml Normal file
View File

@ -0,0 +1,11 @@
---
- hosts: localhost
tags:
- classic
roles:
- role: standard-test-basic
required_packages:
- ghc
tests:
- smoke
...