AToMPM / atompm

A Tool for Multi-Paradigm Modeling
https://atompm.github.io/
GNU Lesser General Public License v3.0
22 stars 15 forks source link

Add test/logs for Python server in GitHub action #153

Closed BentleyJOakes closed 1 year ago

BentleyJOakes commented 1 year ago

Tests are failing because the model transformation server cannot be accessed from AToMPM. However, the logs for the Python server aren't being recorded to help debug.

I propose that a flag be added to the Python server to just start the Python process but not start the server itself. This would then test the importing of all the required libraries and be a good proxy for the server actually running. The flag name could be --dummy or --test or similar.

This should then be tested at the beginning of the GitHub action, such that we get a fail-fast test for the Python server.

This can also help with testing/solving #151

BentleyJOakes commented 1 year ago

Did not reveal the underlying issue, but this is useful information and a good test anyways.