From 4ba834c600a5248b05c1675a32645b3896bb8ab5 Mon Sep 17 00:00:00 2001 From: David Hoese <david.hoese@ssec.wisc.edu> Date: Fri, 3 Jul 2020 16:35:27 -0500 Subject: [PATCH] Try calling just the filename with no dir prefix --- .gitlab-ci.yml | 1 + test.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 07d2d64..a9adff8 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -51,6 +51,7 @@ tests: - ssec_shared script: - ls -l +# - export PATH="$PATH:${PWD}" - pip install pytest pytest-cov - pytest --cov=. test.py coverage: '/TOTAL.*\s+(\d+%)$/' diff --git a/test.py b/test.py index 704353e..1fb7bc7 100644 --- a/test.py +++ b/test.py @@ -4,7 +4,7 @@ def test_hello_world_c(): import subprocess - bytes_out = subprocess.check_output(['./hello']) + bytes_out = subprocess.check_output(['hello']) assert bytes_out == b'Hello, World!\n' -- GitLab