Skip to content

Commit

Permalink
Use correct strategy path for docker testing
Browse files Browse the repository at this point in the history
  • Loading branch information
xmatthias committed Feb 20, 2020
1 parent bee28a1 commit 945ff09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build_helpers/publish_docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ if [ $? -ne 0 ]; then
fi

# Run backtest
docker run --rm -v $(pwd)/config.json.example:/freqtrade/config.json:ro -v $(pwd)/tests:/tests freqtrade:${TAG} backtesting --datadir /tests/testdata --strategy DefaultStrategy
docker run --rm -v $(pwd)/config.json.example:/freqtrade/config.json:ro -v $(pwd)/tests:/tests freqtrade:${TAG} backtesting --datadir /tests/testdata --strategy-path /tests/strategy/strats/ --strategy DefaultStrategy

if [ $? -ne 0 ]; then
echo "failed running backtest"
Expand Down

0 comments on commit 945ff09

Please sign in to comment.