Skip to content
Snippets Groups Projects
Verified Commit 225cf748 authored by David Hoese's avatar David Hoese
Browse files

Fix coverage usage in CI

parent 3065189c
No related branches found
No related tags found
No related merge requests found
Pipeline #11533 failed
hello
.coverage
*.pyc
.pytest_cache/
*.[oa]
*~
...@@ -49,7 +49,7 @@ tests: ...@@ -49,7 +49,7 @@ tests:
- ssec_shared - ssec_shared
script: script:
- pip install pytest pytest-cov - pip install pytest pytest-cov
- pytest . - pytest --cov=. test.py
coverage: '/TOTAL.*\s+(\d+%)$/' coverage: '/TOTAL.*\s+(\d+%)$/'
needs: needs:
- job: build_hello_world - job: build_hello_world
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
def test_hello_world_c(): def test_hello_world_c():
import subprocess import subprocess
bytes_out = subprocess.check_output(['./hello']) bytes_out = subprocess.check_output(['./hello'])
assert bytes_out == b'Hello World!\n' assert bytes_out == b'Hello, World!\n'
def test_hello_world_py(): def test_hello_world_py():
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment