Page MenuHomeSoftware Heritage

Make the main py3 tox environment an alias/merge of other test environments
ClosedPublic

Authored by olasd on Nov 21 2019, 4:21 PM.

Details

Summary

Having tox call tox is a bit weird, but the alternatives are:

  • duplication of the test command, which is a bit sad
  • replacing all the positive factors with conjunction of negative factors, e.g. core -> !db-!server, which makes the logic painful to follow

One day, tox will have environment aliases which will make this horror moot :-)

(Idea pulled from a comment in https://github.com/tox-dev/tox/issues/427)

Depends on D2330

Test Plan

tox -e py3 runs the same command as before

Diff Detail

Repository
rDCORE Foundations and core functionalities
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

This revision is now accepted and ready to land.Nov 21 2019, 4:34 PM