Skip to content

Instantly share code, notes, and snippets.

@ovnicraft
Last active Jun 14, 2019
Embed
What would you like to do?
- run:
name: Set modules list to test
command: |
echo \'export MODULES=$(git show --name-only --format= | cut -d/ -f1 | sort | uniq | xargs | sed 's/ /,/g' | sed 's/.circleci/base/g')\' >> $BASH_ENV
source $BASH_ENV
- run:
name: Run tests
command: su - odoo -c "python ~/odoo-$ODOO_BRANCH/odoo-bin --addons-path=odoo-$ODOO_BRANCH/addons,$CIRCLE_WORKING_DIRECTORY --db_host=localhost -i $MODULES -r circleci -d odoo_$CIRCLE_BUILD_NUM --test-enable --stop-after-init"
#!/bin/bash -eo pipefail
echo \'export MODULES=$(git show --name-only --format= | cut -d/ -f1 | sort | uniq | xargs | sed 's/ /,/g' | sed 's/.circleci/base/g')\' >> $BASH_ENV
source $BASH_ENV
/tmp/.bash_env-5d031e0e95154400085ce74a-0-build: line 1: export MODULES=base: command not found
Exited with code 127
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment