diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 75e729a286a576088165d6c9646638f106e5837a..98b0fcb079ca47ea55c299866c6285ba82875492 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -59,6 +59,24 @@ jobs: build_py_project_in_venv build_docs + examples: + name: Examples Py3 + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - + uses: actions/setup-python@v1 + with: + python-version: '3.x' + - name: "Main Script" + run: | + EXTRA_INSTALL="numpy pymbolic" + curl -L -O -k https://gitlab.tiker.net/inducer/ci-support/raw/master/ci-support.sh + . ./ci-support.sh + build_py_project_in_venv + rm -f examples/plot*.py + run_examples --no-require-main + downstream_tests: strategy: matrix: diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 35924ba043bb435558b62d8d32f99dbed12c4331..b2c17afdb3ee967948d9d7333d115e7f01118af3 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -12,6 +12,17 @@ Python 3: reports: junit: test/pytest.xml +Examples: + script: | + EXTRA_INSTALL="numpy pymbolic" + curl -L -O -k https://gitlab.tiker.net/inducer/ci-support/raw/master/ci-support.sh + . ./ci-support.sh + build_py_project_in_venv + rm -f examples/plot*.py + run_examples --no-require-main + tags: + - python3 + Documentation: script: - EXTRA_INSTALL="numpy scipy"