From 2f03046786b3c35c4b8c003f15b02f5d3ef3ca13 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20Kl=C3=B6ckner?= Date: Sun, 23 Sep 2018 13:24:33 -0400 Subject: [PATCH 1/3] Add Pytest/JUnit/Gitlab integration --- .gitlab-ci.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 173861e7..fc023ba7 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -11,6 +11,9 @@ Python 3.5 POCL: - large-node except: - tags + artifacts: + reports: + junit: test/pytest.xml Python 3.6 POCL: script: @@ -25,6 +28,9 @@ Python 3.6 POCL: - large-node except: - tags + artifacts: + reports: + junit: test/pytest.xml Python 3.6 POCL Examples: script: @@ -39,6 +45,9 @@ Python 3.6 POCL Examples: - large-node except: - tags + artifacts: + reports: + junit: test/pytest.xml Python 3.6 Conda: script: @@ -53,6 +62,13 @@ Python 3.6 Conda: except: - tags + # https://gitlab.tiker.net/inducer/pytential/issues/112 + allow_failure: true + + artifacts: + reports: + junit: test/pytest.xml + Python 2.7 POCL: script: - export PY_EXE=python2.7 @@ -66,6 +82,9 @@ Python 2.7 POCL: - large-node except: - tags + artifacts: + reports: + junit: test/pytest.xml Python 3.6 Conda Apple: script: @@ -81,6 +100,9 @@ Python 3.6 Conda Apple: except: - tags retry: 2 + artifacts: + reports: + junit: test/pytest.xml Documentation: script: -- GitLab From 748c6fb06620640b15c6f253868e773f95751a65 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20Kl=C3=B6ckner?= Date: Sun, 23 Sep 2018 18:35:05 -0400 Subject: [PATCH 2/3] Allow failure on "Conda Apple", not "Conda" --- .gitlab-ci.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index fc023ba7..bec49287 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -62,9 +62,6 @@ Python 3.6 Conda: except: - tags - # https://gitlab.tiker.net/inducer/pytential/issues/112 - allow_failure: true - artifacts: reports: junit: test/pytest.xml @@ -100,6 +97,10 @@ Python 3.6 Conda Apple: except: - tags retry: 2 + + # https://gitlab.tiker.net/inducer/pytential/issues/112 + allow_failure: true + artifacts: reports: junit: test/pytest.xml -- GitLab From c4e4ebb4782947f345bd9fdd2d5613c2faa0152b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20Kl=C3=B6ckner?= Date: Thu, 24 Jan 2019 23:39:13 +0100 Subject: [PATCH 3/3] Add artifact parsing to 3.7 CI --- .gitlab-ci.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 0cd1981d..0f2557ea 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -45,6 +45,9 @@ Python 3.7 POCL: - large-node except: - tags + artifacts: + reports: + junit: test/pytest.xml Python 3.6 POCL Examples: script: -- GitLab