Add test suite to CI
continuous-integration/drone/push Build is failing Details

This commit is contained in:
Olivier 'reivilibre' 2021-07-20 11:32:37 +01:00
parent 926fcdbdb9
commit 557dc60f84
2 changed files with 15 additions and 1 deletions

View File

@ -6,9 +6,20 @@ platform:
arch: arm64
steps:
- name: test
- name: unit tests
image: rust:1.49.0-slim
commands:
- apt-get -qq update && apt-get -yqq install pkg-config libssl-dev build-essential libsqlite3-dev
- cargo build --verbose --all
- cargo test --verbose --all
- name: test suite
image: rust:1.49.0-slim
commands:
- apt-get -qq update && apt-get -yqq install pkg-config libssl-dev build-essential libsqlite3-dev python3.9 python3.9-venv
- cargo install --path yama
- cargo install --path datman
- python3.9 -m venv testsuite/.venv
- ./testsuite/.venv/pip install -e testsuite
- cd testsuite && ./.venv/green

3
.gitignore vendored
View File

@ -9,3 +9,6 @@
/testsuite/venv
/testsuite/.venv
/testsuite/yamadatmantestsuite.egg-info
__pycache__