Page MenuHomeSoftware Heritage

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

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



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

Depends on D2330

Test Plan

tox -e py3 runs the same command as before

Diff Detail

rDCORE Foundations and core functionalities
Automatic diff as part of commit; lint not applicable.
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