Browse Source

Add test suite to CI

develop
Olivier 'reivilibre' 2 months ago
parent
commit
557dc60f84
  1. 13
      .drone.yml
  2. 3
      .gitignore

13
.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

3
.gitignore

@ -9,3 +9,6 @@
/testsuite/venv
/testsuite/.venv
/testsuite/yamadatmantestsuite.egg-info
__pycache__
Loading…
Cancel
Save