Commit 5e8a210
committed
test: set PYTHONPATH when running the compliance tool
By setting the PYTHONPATH when running the compliance tool in the tests,
it is no longer required to manually set PYTHONPATH when running the
tests with `python -m unittest` or `coverage`. Thus don't set PYTHONPATH
in the CI script anymore.
Furthermore abstract running the compliance tool with a function,
eliminating a lot of duplicate code.1 parent b06db7d commit 5e8a210
File tree
2 files changed
+53
-108
lines changed- .github/workflows
- test/compliance_tool
2 files changed
+53
-108
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
42 | 41 | | |
43 | | - | |
44 | 42 | | |
45 | 43 | | |
46 | 44 | | |
| |||
0 commit comments