crate-ci / azure-pipelines

Easy continuous integration for Rust projects with Azure Pipelines
MIT License
90 stars 24 forks source link

Support running service containers #56

Closed jonhoo closed 5 years ago

jonhoo commented 5 years ago

This is really handy for projects that need services running for tests (like the imap crate which needs a mock IMAP server running).

djc commented 5 years ago

Looks okay to me, though I don't have very deep understanding of containers.

jonhoo commented 5 years ago

I think I was overly optimistic here -- sadly Docker containers only really work on Linux, so this conflicts with cross-platform testing. Arguably what you'd want is to run only integration tests on Windows, but I think at that point we should leave the details to the caller.