Added the workflow file for sample data #29
Workflow file for this run
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
name: Test | |
on: | |
- push | |
- pull_request | |
jobs: | |
Test: | |
name: Test nn4dms | |
runs-on: ${{ matrix.os }} | |
continue-on-error: true | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Install conda environment | |
uses: conda-incubator/setup-miniconda@v2 | |
with: | |
activate-environment: active_learning_dd | |
environment-file: conda_cpu_env.yml | |
auto-activate-base: false | |
miniconda-version: 'latest' | |
# Log conda environment contents | |
- name: Log conda environment | |
shell: bash --login {0} | |
run: conda list | |
# Activate the installed packages | |
- name: Install active_learning_dd package | |
shell: bash --login {0} | |
run: pip install -e . | |
# Tests that the regression training code runs in the conda environment | |
- name: Test BT_Clustering | |
shell: bash --login {0} | |
run: python utils/generate_bt_clustering.py --csv_file_or_dir=datasets/sample_data/training_data/iter_{}.csv --output_dir=datasets/sample_data/training_data --feature_name="Morgan FP_2_1024" --cutoff=0.4 --dist_function=tanimoto_dissimilarity --process_count=2 --index_name="Index ID" | |
# Tests that inference notebook can execute in the conda environment | |
- name: Test Simulation Runner | |
shell: bash --login {0} | |
run: python chtc_runners/simulation_runner.py --pipeline_params_json_file=param_configs/sample_data_config.json --nbs_params_json_file=param_configs/ClusterBasedWCSelector_params_reduced.json --exploration_strategy=weighted --iter_max=5 --process_num=0 --batch_size_index=0 --rnd_seed=0 --no-random_param_sampling --precompute_dissimilarity_matrix |