Changeset View
Changeset View
Standalone View
Standalone View
docker/tox.ini
- This file was added.
[tox] | |||||
envlist=flake8,py3,shell_tests | |||||
[testenv] | |||||
skip_install = true | |||||
passenv = COMPOSE_FILE | |||||
deps = | |||||
pytest | |||||
testinfra | |||||
docker-compose | |||||
commands = | |||||
# docker-compose build swh-storage | |||||
vlorentz: why this line? | |||||
douarddaAuthorUnsubmitted Done Inline Actionsbecause I forgot to remove it . First I wanted to have this step in these, but the problem is it fails for some reason (something about the secret service of docker.) douardda: because I forgot to remove it . First I wanted to have this step in these, but the problem is… | |||||
douarddaAuthorUnsubmitted Done Inline Actionsdocker.credentials.errors.StoreError: Credentials store docker-credential-secretservice exited with "Error from list function in secretservice_linux.c likely due to error in secretservice library". douardda: ```
docker.credentials.errors.StoreError: Credentials store docker-credential-secretservice… | |||||
pytest | |||||
[testenv:flake8] | |||||
deps = | |||||
flake8 | |||||
commands = | |||||
{envpython} -m flake8 tests | |||||
[testenv:shell_tests] | |||||
deps = | |||||
docker-compose | |||||
whitelist_externals = | |||||
/bin/bash | |||||
commands = | |||||
/bin/bash tests/run_tests.sh | |||||
why this line?