Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixing "Bash exited with code '5' " for Azure Pipeline run - for #25 #28

Closed
wants to merge 1 commit into from

Conversation

totosan
Copy link

@totosan totosan commented Jun 18, 2020

This is a fix for #25

Problem:
Running the sample with Azure DevOps Pipeline leads to an error (Bash exited with code '5') and the build run fails for testing.

Cause:
pytest cannot find any tests defined and exits therefore with "collected 0 items" (empty).
This leads to the exit code. It's related to this discussion.

Solution:
Write a sample or placeholder test. There is no reason, having a test_test1.py when nothing is tested. At least the idea of a test should be implemented.
I added this part, so the build pipeline is able to pass, without to much configuration in pytest.

@totosan totosan closed this Jun 18, 2020
@totosan
Copy link
Author

totosan commented Jun 18, 2020

closed, because of duplicate #24

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant