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

Separate out server tests #688

Merged

Conversation

riedgar-ms
Copy link
Collaborator

@riedgar-ms riedgar-ms commented Mar 12, 2024

The tests in test_server.py seem to be a touch temperamental, often failing when the forked server process fails to start in time. In an effort to reduce the re-running of tests, add a server mark for these tests, and run in a separate runner job. Use a new workflow file so that everything doesn't get killed by the first failure.

Comment on lines +15 to +20
[tool.black]
line-length = 88
target_version = ['py38', 'py39', 'py310', 'py311']

[tool.isort]
profile = "black"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perhaps we can hold off on forcing black and isort from this PR?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This doesn't force black. It configures black if people run it

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah gotcha!

@riedgar-ms riedgar-ms merged commit 5415e09 into guidance-ai:main Mar 14, 2024
20 checks passed
@riedgar-ms riedgar-ms deleted the riedgar-ms/separate-server-tests01 branch March 14, 2024 18:45
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.

None yet

2 participants