aboutcode-org / aboutcode-org/skeleton

Use tox to test on all envs

Ouverte
#36 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Python
Étoiles
9
Forks
9
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

As suggested in https://github.com/nexB/commoncode/pull/30#issuecomment-910526284 by @vznncv

> I'm closing this pull requests since @pombredanne has proposed better solution.
>
> @pombredanne Did you consider [tox](https://tox.readthedocs.io/en/latest/) usage instead of `configure` scripts? Generally it does the same things (virtual environment creation for tests), but has additionally features like [generative envlis](https://tox.readthedocs.io/en/latest/config.html#generative-envlist) that allows to test a library with different dependency versions.

@pombredanne replied:
>> Tox in addition would help! +1
>> Note that ./configure does a setup that's also useful beyond testing

So recap:
1. we should use tox
2. this may need to update on the CI setups to use tox too
3. we would still keep configure IMHO
4. we could consider tox to also test multiple versions of key dependent packages to handle issues such as https://github.com/nexB/commoncode/pull/30
5. we could consider tox to also test with the latest versions of all dependent packages

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.