aboutsummaryrefslogtreecommitdiffstats
path: root/tox.ini
AgeCommit message (Collapse)AuthorFilesLines
2023-01-17feat(model): Simplify logicpmikus1-6/+2
Signed-off-by: pmikus <peter.mikus@protonmail.ch> Change-Id: I461899d72e92e5c5db9f64261206ec0e6704e0c8
2022-06-30style(tox): prepare for fixer scriptsVratko Polak1-15/+15
The previous code assumes each tox script is a checker. We want to add fixer scripts (not voting but editing) soon. This is the less interesting part of the process, renaming things and updating comments. Includes some basic descriptions of how fixers differ from checkers. Change-Id: I1ca1572a328acd02b41dcf4e70d7cb3746a03b03 Signed-off-by: Vratko Polak <vrpolak@cisco.com>
2022-01-25fix(core): topology files, toxPeter Mikus1-5/+0
Signed-off-by: Peter Mikus <pmikus@cisco.com> Change-Id: I93e2035568527c2f68732a0c7fe1865d100831ad
2021-12-15Tox: Add checker for CSIT model versionVratko Polak1-1/+5
+ Implementation stub so checker can check already. + Also add documentation stub for the implemented model. + Checker checks also for bumps in documentation version. - Not comparing implementation and documentation version yet. Change-Id: I4d19c00315a1c171de325c4494c28f5210635f32 Signed-off-by: Vratko Polak <vrpolak@cisco.com>
2021-08-20Tox: Remove obsolete checkerspmikus1-13/+1
+ coverage is not used + naming is now covered fully by suitegen which can be improved to do detections of packet encapsulations Signed-off-by: pmikus <pmikus@cisco.com> Change-Id: I9631988e144d3878a6b146214e3aea75694ebf3f
2021-08-19vpp_device: Multiple NICs (suitegen)pmikus1-0/+1
Signed-off-by: pmikus <pmikus@cisco.com> Change-Id: I81958fbf6ef240d53a0fb8708ca882baf02f606c
2021-04-20tox: Add job-spec checkerTibor Frank1-2/+6
Change-Id: I2bbdc28431b6271d1950ec0e74bf708cae841146 Signed-off-by: Tibor Frank <tifrank@cisco.com>
2021-01-20Tox: Improve tox.iniVratko Polak1-15/+26
Just stylistic improvements, no functional change. + Use "ignore_outcome = true" instead of "|| true". + Document and apply recommended ordering within testenv definition. + Fix some typos. Change-Id: I004f12fbdf6dbeb555daa7cd111938b7eeef20b3 Signed-off-by: Vratko Polak <vrpolak@cisco.com>
2020-12-09Tox: Add GPL license checkerVratko Polak1-2/+7
A common mistage is to add a file into GPL directory, with Apache license only. This adds a tox checker to vote -1 on such changes, gpl_license.log contains the list of affected files. There are TODOs related to unlicensed files or unconventional GPL licenses. Change-Id: I267e4fb98afd199d5acc7d211068b28c97b31dc9 Signed-off-by: Vratko Polak <vrpolak@cisco.com>
2020-07-06Update TODOs for toxVratko Polak1-1/+2
Change-Id: I9368557aed7508d9401628c0ddfda475da42bc99 Signed-off-by: Vratko Polak <vrpolak@cisco.com>
2020-02-21Tox: Add copyright year tox checkerVratko Polak1-3/+8
Only added/edited files already containing copyright notice are checked for the correct year (and only if in first 3 lines). Change-Id: I22c057431847fda3a7dfd4577f8346fadfe4c4f6 Signed-off-by: Vratko Polak <vrpolak@cisco.com>
2020-01-31Tox: Sort items and add comments on sort criterionVratko Polak1-17/+22
Change-Id: I8d8619f5a0b7ec7ee45b85ef78ff6bb8e9ea88a1 Signed-off-by: Vratko Polak <vrpolak@cisco.com>
2019-11-29Python3: PIP requirementPeter Mikus1-2/+2
- Install via PIP3 - Use virtualenv Python3 interpret Signed-off-by: Peter Mikus <pmikus@cisco.com> Change-Id: Iad22b344b418a1d91774d23d5ea17bfd48d394b3
2019-08-16TOX: Make tc_naming voting.Peter Mikus1-2/+1
- We get to 0 Signed-off-by: Peter Mikus <pmikus@cisco.com> Change-Id: I5c079248c1fc2383c399e5034aa46b570c5c1dce
2019-08-15TOX: DOC verifyPeter Mikus1-1/+8
Signed-off-by: Peter Mikus <pmikus@cisco.com> Change-Id: Ifa4de8e60742f5c4cf4c2f377692313e23f9983b
2019-08-14DO_NOT_MERGE CSIT-1194 - Framework easy pylint improvementsMiroslav Los1-0/+1
- force a python2 environment in tox for pylint - let pylint load some compiled modules for member checking - allow locally enabled pylint rules - ignore bad enum names - ignore complexity for code to be refactored by other tickets - broad excepts are acceptable sometimes Signed-off-by: Miroslav Los <miroslav.los@pantheon.tech> Change-Id: If4c3a1b85e8609f074e1de8ce91fc9c4fedbeb38
2019-07-31TOX: Coverage checkPeter Mikus1-1/+6
Change-Id: Ib4585729f7b84bbcf1db62db801a6b2f24337803 Signed-off-by: Peter Mikus <pmikus@cisco.com>
2019-07-19TOX: Naming conventionsPeter Mikus1-1/+6
Change-Id: I038d90fc481e5f74085d0fe6165b12769d98e8a1 Signed-off-by: Peter Mikus <pmikus@cisco.com>
2019-07-02Replace license checker with global noticesVratko Polak1-5/+1
Caring about per-file notices is too distracting. Change-Id: I3f07a9fd1d3a4350135dd3d14f4944647af39a0b Signed-off-by: Vratko Polak <vrpolak@cisco.com>
2019-06-28Add copyright checker to toxVratko Polak1-5/+7
+ Only looks at files edited since HEAD~. + Only checks files of whitelisted extensions. + Distinguishes missing and outdated copyrights. + Any line with "Copyright" substring can work. + Many copyright lines are tolerated, if at least one has correct year. + Voting. Change-Id: I2cda0459cb191eeec7aada69c508973568039d87 Signed-off-by: Vratko Polak <vrpolak@cisco.com>
2019-04-08Upgrade autogen to NICs and search typesVratko Polak1-0/+2
+ All perf suites updated, as autogen change is backward incompatible. + Only x710 -ndrpdr suites remain in git repository. + Removed retry feature of run_tests. + Renamed topology_type and traffic_type to traffic_profile. + Renamed framesize to frame_size; nic_model to nic_name. + Reordered Variables table to start with nic_name and overhead. + Fixed wrong overhead value in some cbc-sha1 suites. + Fixed some suite tags. ++ Introduced tags to distinguish suites, such as IPSECINT. + Bound crypto hardware to NIC name. + Implemented NIC limit hiding. + Also search and teardown related arguments are now hidden. + Main measurement keywords updated to new arg handling. + Max rate related keywords moved to performance_limits.robot + Teardowns unified. + Generated tests are archived. ++ Generated directory is .gitignore-d. + Regenerator raises an exception on seeing non-compatible suite. ++ Relatively helpful message should be seen in exception. + Suite and template Documentation has generated parts. +- With short NIC names only. + Autogen checker also upgraded. + Tag expressions replaced with long files to ensure analogous tests. Change-Id: I60e9a999187e7da1f60d0eb4fb02afa14682aa46 Signed-off-by: Vratko Polak <vrpolak@cisco.com>
2019-03-21Update and reorder tox.ini TODOsVratko Polak1-3/+3
Change-Id: Ieeb54f3e3cb413f15dfbf6595211fd7158aa1e1a Signed-off-by: Vratko Polak <vrpolak@cisco.com>
2019-03-20Add tox checker for lengths of new lines onlyVratko Polak1-11/+14
- Still non-voting, but useful. Change-Id: Idd6f345f0f14fdbc237ff66f5e010801ea08dc5b Signed-off-by: Vratko Polak <vrpolak@cisco.com>
2019-02-27Add tox.ini and few checker scriptsVratko Polak1-0/+70
The plan is to change csit-validate-pylint-master job to fail if (and only if) tox fails. This will allow us to easily add checks, with or without the voting power. Each check produces log (ignored in .gitignore) the voting job can archive. + Made autogen quiet by default, to avoid spam in autogen checker. + Unified the way direct csit subdirectories are git-ignored. Change-Id: I6477b1ef7da6d3e30f68c5850d04900cc52f431e Signed-off-by: Vratko Polak <vrpolak@cisco.com>