Add test suite to CI
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
926fcdbdb9
commit
557dc60f84
13
.drone.yml
13
.drone.yml
|
@ -6,9 +6,20 @@ platform:
|
||||||
arch: arm64
|
arch: arm64
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: test
|
- name: unit tests
|
||||||
image: rust:1.49.0-slim
|
image: rust:1.49.0-slim
|
||||||
commands:
|
commands:
|
||||||
- apt-get -qq update && apt-get -yqq install pkg-config libssl-dev build-essential libsqlite3-dev
|
- apt-get -qq update && apt-get -yqq install pkg-config libssl-dev build-essential libsqlite3-dev
|
||||||
- cargo build --verbose --all
|
- cargo build --verbose --all
|
||||||
- cargo test --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
|
||||||
|
|
||||||
|
|
|
@ -9,3 +9,6 @@
|
||||||
/testsuite/venv
|
/testsuite/venv
|
||||||
/testsuite/.venv
|
/testsuite/.venv
|
||||||
/testsuite/yamadatmantestsuite.egg-info
|
/testsuite/yamadatmantestsuite.egg-info
|
||||||
|
|
||||||
|
__pycache__
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue