diff --git a/.drone.yml b/.drone.yml index d388f49..cf2c8d8 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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 + diff --git a/.gitignore b/.gitignore index eb83749..5db7f40 100644 --- a/.gitignore +++ b/.gitignore @@ -9,3 +9,6 @@ /testsuite/venv /testsuite/.venv /testsuite/yamadatmantestsuite.egg-info + +__pycache__ +