Pass artifacts from build to test in gitlab-ci.

2 jobs for master in 2 minutes and 36 seconds (queued for 1 second)
Status Job ID Name Coverage
  Build
passed #1253826
build

00:02:12

 
  Test
failed #1253827
test

00:00:24

 
Name Stage Failure
failed
test Test
Processing triggers for libc-bin (2.28-10) ...
$ pytest --junitxml=test_report.xml tests/
/bin/bash: line 104: pytest: command not found
Uploading artifacts for failed job
Uploading artifacts...
WARNING: test_report.xml: no matching files
ERROR: No files to upload
Cleaning up file based variables
ERROR: Job failed: exit code 1