From 75015cd4fbb04394244cdc51809790d27b3e8e20 Mon Sep 17 00:00:00 2001 From: Andreas Kloeckner <inform@tiker.net> Date: Mon, 11 Jan 2021 17:32:47 -0600 Subject: [PATCH] Add example runs in Github/Gitlab CI --- .github/workflows/ci.yml | 15 +++++++++++++++ .gitlab-ci.yml | 13 +++++++++++++ 2 files changed, 28 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b4a25884..e1259681 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -59,4 +59,19 @@ jobs: curl -L -O -k https://gitlab.tiker.net/inducer/ci-support/raw/master/build-and-test-py-project-within-miniconda.sh . ./build-and-test-py-project-within-miniconda.sh + examples: + name: Conda Examples + runs-on: ubuntu-latest + steps: + steps: + - uses: actions/checkout@v2 + - name: "Main Script" + run: | + grep -v symengine .test-conda-env-py3.yml > .test-conda-env.yml + CONDA_ENVIRONMENT=.test-conda-env.yml + curl -L -O -k https://gitlab.tiker.net/inducer/ci-support/raw/master/ci-support.sh + . ci-support.sh + build_py_project_in_conda_env + run_examples + # vim: sw=4 diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index aba598c7..845a4b4b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -84,6 +84,19 @@ Pytest POCL Titan X: reports: junit: test/pytest.xml +Examples Conda: + script: | + grep -v symengine .test-conda-env-py3.yml > .test-conda-env.yml + CONDA_ENVIRONMENT=.test-conda-env.yml + curl -L -O -k https://gitlab.tiker.net/inducer/ci-support/raw/master/ci-support.sh + . ci-support.sh + build_py_project_in_conda_env + run_examples + tags: + - large-node + except: + - tags + Documentation: script: - EXTRA_INSTALL="pybind11 numpy mako" -- GitLab