Mentions légales du service

Skip to content
Snippets Groups Projects
Commit b0416f8a authored by Thierry Martinez's avatar Thierry Martinez
Browse files

Only count first line

parent 6d85890e
No related branches found
No related tags found
No related merge requests found
Pipeline #
......@@ -210,4 +210,20 @@ c:\Multi-Runner\gitlab-ci-multi-runner register
Coordinator URL: https://gitlab.inria.fr/ci
Registration token: Runners
--
## .gitlab-ci.yml
File .gitlab-ci.yml in the root of the project
before_script:
- command
task1:
script:
- command
--
## Only allow succesful merge
Edit project
Only allow merge requests to be merged if the build succeeds
......@@ -2,7 +2,7 @@ import sys
def main():
data = sys.stdin.readlines()
print(len(" ".join(data).split(" ")))
print(len(data[0].split(" ")))
if __name__ == "__main__":
main()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment