Use httpretty to mock composer responses. Create a helper method to configure a session object that should result in a valid compose request. Simulate a bad request by asking for an arch that the mock composer will refuse and check the correct exception is thrown in the builder plugin. |
||
|---|---|---|
| .. | ||
| integration | ||
| unit | ||
| action.yml | ||
| Dockerfile | ||
| entrypoint.sh | ||
| integration.sh | ||