Input mapping library for Docker Runner and Sandbox Loader. Library processes input mapping, exports data from Storage tables into CSV files and files from Storage file uploads. Exported files are stored in local directory.
docker-compose build tests
docker-compose run --rm tests-local composer install
Create .env
file from this template
STORAGE_API_TOKEN=
STORAGE_API_TOKEN_MASTER=
STORAGE_API_URL=https://connection.keboola.com
RUN_SYNAPSE_TESTS=0
SYNAPSE_STORAGE_API_TOKEN=
SYNAPSE_STORAGE_API_URL=https://connection.eu-central-1.keboola.com
To run Synapse tests, set RUN_SYNAPSE_TESTS=1
and supply a Storage API token to a project with Synapse backend. Synapse tests are by default skipped (unless the above env is set).
Run tests:
docker-compose run --rm tests-local composer run-script ci
MIT licensed, see LICENSE file.