aboutcode-org / aboutcode-org/skeleton

Use tox to test on all envs

Aperta
#36 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Python
Stelle
9
Fork
9
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.