diff --git a/.github/workflows/ci_linting.yml b/.github/workflows/ci_linting.yml index a2908f5dea0..1733e6dc3f9 100644 --- a/.github/workflows/ci_linting.yml +++ b/.github/workflows/ci_linting.yml @@ -82,7 +82,7 @@ jobs: uses: peter-evans/autopep8@v2 with: args: --recursive --diff --exit-code . - - name: Fail if autopep8 made changes + - name: Check exit code if: steps.autopep8.outputs.exit-code != 0 run: exit 1 clang-format: diff --git a/tests/integrationv2/conftest.py b/tests/integrationv2/conftest.py index e9459369f8b..ca80561a07c 100644 --- a/tests/integrationv2/conftest.py +++ b/tests/integrationv2/conftest.py @@ -12,6 +12,10 @@ def pytest_addoption(parser): default="off", type=str, choices=['off', 'baseline', 'delta'], help="Use Criterion provider in one of 3 modes: [off,baseline,delta]") + + + + def pytest_configure(config): """ pytest hook that adds the function to deselect tests if the parameters @@ -33,6 +37,7 @@ def pytest_configure(config): def pytest_collection_modifyitems(config, items): + """ pytest hook to modify the test arguments to call the uncollect function. """