image: snakemake/snakemake:v5.9.1

before_script:
  - apt update
  - apt install -y unzip bedtools
  - pip install -r scripts/requirements.txt

test:
  script:
    # add code quality tests here
    # add unit tests here
    # add script tests here
    - bash tests/test_scripts_labkey_to_snakemake_table/test.sh
    - bash tests/test_scripts_labkey_to_snakemake_api/test.sh
    # add integration tests here
    - bash tests/test_create_dag_image/test.sh
    - bash tests/test_create_rule_graph/test.sh
    - bash tests/test_integration_workflow/test.local.sh