From 7924ab0b20e53b0122f56789734bfb795cd73d38 Mon Sep 17 00:00:00 2001 From: Jonathan Shimwell Date: Wed, 3 Feb 2021 22:23:16 +0000 Subject: [PATCH] added tests to conda build --- .github/workflows/docker_ci.yml | 2 +- conda/meta.yaml | 2 ++ run_tests.sh => run_test.sh | 0 3 files changed, 3 insertions(+), 1 deletion(-) rename run_tests.sh => run_test.sh (100%) diff --git a/.github/workflows/docker_ci.yml b/.github/workflows/docker_ci.yml index 566f6c368..2bb854002 100644 --- a/.github/workflows/docker_ci.yml +++ b/.github/workflows/docker_ci.yml @@ -14,4 +14,4 @@ jobs: - name: Build and test with Docker run: | docker build -t paramak --build-arg include_neutronics=true --build-arg cq_version=master --build-arg compile_cores=2 . - docker run --rm paramak /bin/bash -c "cd .. && bash run_tests.sh && curl -s https://codecov.io/bash | bash" + docker run --rm paramak /bin/bash -c "cd .. && bash run_test.sh && curl -s https://codecov.io/bash | bash" diff --git a/conda/meta.yaml b/conda/meta.yaml index 8c7fb1fa1..c9ff576e7 100644 --- a/conda/meta.yaml +++ b/conda/meta.yaml @@ -51,6 +51,7 @@ test: - pytest-runner source_files: - tests/ + - examples/ commands: - pytest -v @@ -62,6 +63,7 @@ about: summary: "Create 3D fusion reactor CAD models based on input parameters" doc_url: https://paramak.readthedocs.io/ dev_url: https://github.com/ukaea/paramak + summary: Paramak - parameter driven fusion reactor model creation extra: recipe-maintainers: diff --git a/run_tests.sh b/run_test.sh similarity index 100% rename from run_tests.sh rename to run_test.sh