Commit e34264c8 authored by Jan Kiene's avatar Jan Kiene
Browse files

only test one config per experiment for shorter runtime

parent 12a7a145
Loading
Loading
Loading
Loading
Loading
+0 −15
Original line number Diff line number Diff line
@@ -82,7 +82,6 @@ experiments:
    - *print-common-info
    - *get-codec-binaries
    - python3 -m pytest tests/test_experiments.py::test_generate_test_items -n auto | tee log.txt
    - python3 -m pytest tests/test_experiments.py::test_categories -n auto | tee log.txt
  artifacts:
    paths:
      - experiments/selection/*/proc_output/*.log
@@ -90,20 +89,6 @@ experiments:
    when: on_failure
    expire_in: 1 week

# test the lab/category-wise config creation
experiment-setup:
  stage: test
  tags:
    - linux
  script:
    - *print-common-info
    - python3 -m pytest tests/test_experiments.py::test_experiment_setup -n auto | tee log.txt
  artifacts:
    paths:
      - log.txt
    when: always
    expire_in: "1 week"

# run some test configs for item creation
test_processing:
  stage: test
+5 −5
Original line number Diff line number Diff line
@@ -104,8 +104,8 @@ def setup_input_files_for_config(config):
def test_generate_test_items(exp_lab_pair):
    exp_name, lab_id = exp_lab_pair
    cfgs = create_experiment_setup(exp_name, lab_id)
    cfg = cfgs[0]

    for cfg in cfgs:
    args = Arguments(str(cfg))
    config = TestConfig(cfg)
    setup_input_files_for_config(config)