Add CI tests

This commit is contained in:
Parag Nemade 2021-05-01 12:12:37 +05:30
parent b17e9784bb
commit 166d423c82
No known key found for this signature in database
GPG Key ID: 71932951EB71E972

17
tests/tests.yml Normal file
View File

@ -0,0 +1,17 @@
---
- hosts: localhost
tags:
- classic
roles:
- role: standard-test-basic
required_packages:
- sed
- autotrace
# Fetch tests from GitHub upstream.
repositories:
- repo: https://github.com/autotrace/autotrace.git
dest: autotrace
tests:
- unittests:
dir: autotrace/tests
run: AUTOTRACE=/usr/bin/autotrace sh ./runtests.sh