Refer to the general Contribution Guidelines.
To run integration tests locally, you need to have a Docker container running the Unstructured API. You can start it as follows:
docker run -p 8000:8000 -d --rm --name unstructured-api quay.io/unstructured-io/unstructured-api:latest --port 8000 --host 0.0.0.0