This commit is contained in:
parent
71e561ae8d
commit
6272913109
@ -10,21 +10,24 @@ pipeline:
|
|||||||
# mount:
|
# mount:
|
||||||
# - 'vendor'
|
# - 'vendor'
|
||||||
|
|
||||||
unitTests:
|
# unitTests:
|
||||||
image: rust:1.54.0-slim
|
# image: rust:1.54.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 --all
|
# - cargo build --all
|
||||||
- cargo test --all
|
# - cargo test --all
|
||||||
|
|
||||||
testSuite:
|
testSuite:
|
||||||
image: rust:1.54.0-slim-bullseye
|
image: rust:1.54.0-slim-bullseye
|
||||||
commands:
|
commands:
|
||||||
- apt-get -qq update && apt-get -yqq install pkg-config libssl-dev build-essential libsqlite3-dev python3.9 python3.9-venv postgresql postgresql-client mariadb-server mariadb-client
|
- apt-get -qq update && apt-get -yqq install pkg-config libssl-dev build-essential libsqlite3-dev python3.9 python3.9-venv postgresql postgresql-client mariadb-server mariadb-client
|
||||||
|
- ls /run/mysqld
|
||||||
- pg_ctlcluster 13 main start
|
- pg_ctlcluster 13 main start
|
||||||
- su postgres -c 'createuser root'
|
- su postgres -c 'createuser root'
|
||||||
- su postgres -c 'createdb -O root testsuitedb'
|
- su postgres -c 'createdb -O root testsuitedb'
|
||||||
- psql testsuitedb -c 'CREATE TABLE testsuitetable ();'
|
- psql testsuitedb -c 'CREATE TABLE testsuitetable ();'
|
||||||
|
- systemctl status mysqld
|
||||||
|
- systemctl status mariadb
|
||||||
- mysql -e 'CREATE DATABASE testsuitemydb; USE testsuitemydb; CREATE TABLE sometable (INT PRIMARY KEY); INSERT INTO sometable VALUES (42);'
|
- mysql -e 'CREATE DATABASE testsuitemydb; USE testsuitemydb; CREATE TABLE sometable (INT PRIMARY KEY); INSERT INTO sometable VALUES (42);'
|
||||||
- cargo install -q --path yama
|
- cargo install -q --path yama
|
||||||
- cargo install -q --path datman
|
- cargo install -q --path datman
|
||||||
|
Loading…
Reference in New Issue
Block a user