Refine lib -> xautodl

This commit is contained in:
D-X-Y
2021-05-19 13:00:33 +08:00
parent 94a149b33f
commit 95fb5a54b1
34 changed files with 118 additions and 1154 deletions

View File

@@ -32,15 +32,20 @@ jobs:
echo $PWD ; ls
python -m black ./exps -l 88 --check --diff --verbose
python -m black ./tests -l 88 --check --diff --verbose
python -m black ./lib/xlayers -l 88 --check --diff --verbose
python -m black ./lib/spaces -l 88 --check --diff --verbose
python -m black ./lib/trade_models -l 88 --check --diff --verbose
python -m black ./lib/procedures -l 88 --check --diff --verbose
python -m black ./lib/config_utils -l 88 --check --diff --verbose
python -m black ./lib/log_utils -l 88 --check --diff --verbose
python -m black ./xautodl/xlayers -l 88 --check --diff --verbose
python -m black ./xautodl/spaces -l 88 --check --diff --verbose
python -m black ./xautodl/trade_models -l 88 --check --diff --verbose
python -m black ./xautodl/procedures -l 88 --check --diff --verbose
python -m black ./xautodl/config_utils -l 88 --check --diff --verbose
python -m black ./xautodl/log_utils -l 88 --check --diff --verbose
- name: Install XAutoDL from source
run: |
python setup.py install
- name: Test Search Space
run: |
python -m pip install pytest numpy
python -m pip install parameterized
echo $PWD
@@ -48,6 +53,7 @@ jobs:
ls
python --version
python -m pytest ./tests/test_basic_space.py -s
python -m pytest ./tests/test_import.py
shell: bash
- name: Test Synthetic Data