From db849efc2af4a03fe5605c3a5fc0e6803c7730b8 Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Wed, 8 May 2019 12:40:45 +0100 Subject: [PATCH] ci: Keep JUnit report script working on Debian stable The current Debian stable CI image ships with Python 3.5, so the Meson log to JUnit report script is failing because it's using an API addition present in Python 3.6 or later. Since it's just a cosmetic option for the time stamp, we can get rid of it. --- .gitlab-ci/meson-junit-report.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci/meson-junit-report.py b/.gitlab-ci/meson-junit-report.py index 248ef6e2b..09b89a499 100755 --- a/.gitlab-ci/meson-junit-report.py +++ b/.gitlab-ci/meson-junit-report.py @@ -41,7 +41,7 @@ outfile = args.output testsuites = ET.Element('testsuites') testsuites.set('id', '{}/{}'.format(args.job_id, args.branch)) testsuites.set('package', args.project_name) -testsuites.set('timestamp', datetime.datetime.utcnow().isoformat(timespec='minutes')) +testsuites.set('timestamp', datetime.datetime.utcnow().isoformat()) suites = {} for line in args.infile: