Skip to content
Snippets Groups Projects
Commit 8a452189 authored by Felipe Delestro Matos's avatar Felipe Delestro Matos
Browse files

simplfied CI/CD script

parent 9284a9c3
No related branches found
No related tags found
No related merge requests found
Pipeline #17539 passed
......@@ -3,13 +3,7 @@ stages:
run_tests:
stage: test
before_script:
- pwd
- ls
- python3 --version
script:
- echo "Running unit pytest..."
- find -name "*.py" -type f -print0 | xargs -0 pylint --fail-under=5.0
- python3 -m pytest -v
- echo "Done!"
\ No newline at end of file
""" Example functions """
def say_hello(user):
"""Generates a greeting message for the specified user.
......@@ -18,3 +20,7 @@ def say_hello(user):
return greeting
# This is a example of function that if added decreases the pylint score
# def LOWPYLINTSCORE():
# VAR1 = 1
# return
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment