From 7fc275d7bc8cf567c14a5bb617f66f1a6626bdee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20Kl=C3=B6ckner?= Date: Sun, 23 Sep 2018 13:56:36 -0400 Subject: [PATCH] Add Pytest/JUnit/Gitlab integration, Py37 CI --- .gitlab-ci.yml | 36 +++++++++++++++++++++++++++++++++--- 1 file changed, 33 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 863fb61..c2e0a30 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -9,6 +9,9 @@ Python 2.6: - gfortran except: - tags + artifacts: + reports: + junit: test/pytest.xml Python 2.7: script: @@ -21,6 +24,9 @@ Python 2.7: - gfortran except: - tags + artifacts: + reports: + junit: test/pytest.xml Python 3.5: script: @@ -33,6 +39,9 @@ Python 3.5: - gfortran except: - tags + artifacts: + reports: + junit: test/pytest.xml Python 3.6: script: @@ -45,17 +54,38 @@ Python 3.6: - gfortran except: - tags + artifacts: + reports: + junit: test/pytest.xml -Python 3.6 Examples: +Python 3.7: script: - - py_version=3.6 + - py_version=3.7 + - EXTRA_INSTALL="numpy scipy" + - curl -L -O -k https://gitlab.tiker.net/inducer/ci-support/raw/master/build-and-test-py-project.sh + - ". ./build-and-test-py-project.sh" + tags: + - python3.7 + - gfortran + except: + - tags + artifacts: + reports: + junit: test/pytest.xml + +Python 3.7 Examples: + script: + - py_version=3.7 - EXTRA_INSTALL="numpy scipy matplotlib" - curl -L -O -k https://gitlab.tiker.net/inducer/ci-support/raw/master/build-py-project-and-run-examples.sh - ". ./build-py-project-and-run-examples.sh" tags: - - python3.6 + - python3.7 except: - tags + artifacts: + reports: + junit: test/pytest.xml Documentation: script: -- GitLab