Update Actions CI to new subcommands

This commit is contained in:
Matthias 2019-11-14 06:49:21 +01:00
parent 6c306c0013
commit 569a547b3f
2 changed files with 5 additions and 4 deletions

View File

@ -72,12 +72,12 @@ jobs:
- name: Backtesting - name: Backtesting
run: | run: |
cp config.json.example config.json cp config.json.example config.json
freqtrade --datadir tests/testdata backtesting freqtrade backtesting --datadir tests/testdata --strategy DefaultStrategy
- name: Hyperopt - name: Hyperopt
run: | run: |
cp config.json.example config.json cp config.json.example config.json
freqtrade --datadir tests/testdata --strategy SampleStrategy hyperopt --customhyperopt SampleHyperOpts -e 5 freqtrade hyperopt --datadir tests/testdata -e 5 --strategy SampleStrategy --hyperopt SampleHyperOpts
- name: Flake8 - name: Flake8
run: | run: |
@ -137,12 +137,12 @@ jobs:
- name: Backtesting - name: Backtesting
run: | run: |
cp config.json.example config.json cp config.json.example config.json
freqtrade --datadir tests/testdata backtesting freqtrade backtesting --datadir tests/testdata --strategy DefaultStrategy
- name: Hyperopt - name: Hyperopt
run: | run: |
cp config.json.example config.json cp config.json.example config.json
freqtrade --datadir tests/testdata --strategy SampleStrategy hyperopt --customhyperopt SampleHyperOpts -e 5 freqtrade hyperopt --datadir tests/testdata -e 5 --strategy SampleStrategy --customhyperopt SampleHyperOpts
- name: Flake8 - name: Flake8
run: | run: |

View File

@ -38,3 +38,4 @@ RUN ~/berryconda3/bin/pip install -e . --no-cache-dir
RUN [ "cross-build-end" ] RUN [ "cross-build-end" ]
ENTRYPOINT ["/root/berryconda3/bin/python","./freqtrade/main.py"] ENTRYPOINT ["/root/berryconda3/bin/python","./freqtrade/main.py"]
CMD [ "trade" ]