Last active
June 14, 2019 04:16
-
-
Save ovnicraft/02f08166cc5dff6e38b846e872e4bbfa to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- 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" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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