Skip to content

Conversation

@apotterri
Copy link
Contributor

No description provided.

Remove our bespoke test server management, use pytest-xprocess instead.
Ensures that pytest doesn't hang if a test fails, and that the tests run
correctly in VS Code (maybe also on Windows, still to be determined).

Also fixes a couple of issues identified by pylint.
Add support for the FastAPI framework. Load it automatically when
uvicorn is run with a FastAPI app.
Create a log file by default, messages at INFO and above to it. Provide
the env var APPMAP_DISABLE_LOG_FILE to instead log (at WARNING, by
default) to stderr.
@apotterri apotterri force-pushed the gh-workflow_20240312 branch from 926b185 to 93bc1f0 Compare March 12, 2024 20:38
@apotterri apotterri force-pushed the gh-workflow_20240312 branch 4 times, most recently from 9863ce1 to e03dfe7 Compare March 14, 2024 08:57
Instead of trying to use bash directly, run the test servers using a
script. This works around quoting and path resolution issues.
@apotterri apotterri force-pushed the gh-workflow_20240312 branch from e03dfe7 to de56f67 Compare March 14, 2024 09:02
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.

2 participants