From 1f26e040bc76976ec5cdeedaf39d78cfa8934ee5 Mon Sep 17 00:00:00 2001 From: Christopher Rhodes <christopher.rhodes@embl.de> Date: Tue, 2 Jul 2024 07:13:44 +0200 Subject: [PATCH] Successfully runs from conda-recipe directory, but still not entering tests --- meta.yaml => conda-recipe/meta.yaml | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) rename meta.yaml => conda-recipe/meta.yaml (79%) diff --git a/meta.yaml b/conda-recipe/meta.yaml similarity index 79% rename from meta.yaml rename to conda-recipe/meta.yaml index 99515413..3c069f8d 100644 --- a/meta.yaml +++ b/conda-recipe/meta.yaml @@ -6,10 +6,10 @@ package: version: {{ version }} source: - - path: ./dist/{{ name }}-{{ version }}.tar.gz - - path: ./tests + - path: ../dist/{{ name }}-{{ version }}.tar.gz + - path: ../tests folder: tests - - path: ../fixtures_{{ version }}.tar.gz + - path: ../../fixtures_{{ version }}.tar.gz build: @@ -48,17 +48,14 @@ test: imports: - model_server commands: -# -{{ PYTHON }} -m tarfile -e fixtures_{{ version }}.tar.gz -# -{{ PYTHON }} -m unittest model_server + -{{ PYTHON }} -m tarfile -e fixtures_{{ version }}.tar.gz + -{{ PYTHON }} -m unittest model_server requires: - pip source_files: - tests - script: - -{{ PYTHON }} -m tarfile -e fixtures_{{ version }}.tar.gz - -{{ PYTHON }} -m unittest model_server about: summary: Service for analyzing microscope images license: 'MIT' - license_file: './LICENSE' \ No newline at end of file + license_file: ../LICENSE \ No newline at end of file -- GitLab