Re: [PATCH 01/13] ci: also run linux-gcc pipeline with python-3.7 environment
- From
Yang Zhao <yang.zhao@skyboxlabs.com>
- Date
- Dec 12, 2019, 17:04 UTC
- Message-ID
- <CABvFv3J8JjXGeAXSWDmK5zDav8qYNQ6Ce-8dPGAmuySGj8xvNg@mail.gmail.com>
- In-Reply-To
- <20191212141322.GK6527@szeder.dev>
On Thu, Dec 12, 2019 at 6:13 AM SZEDER Gábor <szeder.dev@gmail.com> wrote:
Show 11 quoted lines
> > > The CI scripts as it is currently does not separate compiling and testing for > > non-Windows builds. I don't see a good way to only run a specific set of tests > > given a particular environment without re-architecturing the CI pipeline. > > Building git and running the test suite is encapsulated in the > 'ci/run-build-and-tests.sh' script, while installing dependencies is > encapsulated in 'ci/install-dependencies.sh', just in case Azure > Pipelines Linux images don't contain both Python 2 and 3 (Travis CI > images contain 2.7 and 3.5) So I don't think it's necessary to touch > 'azure-pipelines.yml' or '.travis.yml' at all.
Yes, and this is implemented as a single step as far as the CI pipeline is concerned. It does not produce a build artifact that can then be loaded into multiple environments for running tests.
Unless there's a very good reason to _not_ use Azure Pipeline's built-in Python version selection support, I believe it's more desirable in the long-run to leverage the feature rather than maintain some custom solution.
-- Yang