Skip to content

Commit

Permalink
restrict + test?!
Browse files Browse the repository at this point in the history
  • Loading branch information
lrstewart committed Dec 11, 2023
1 parent 4faa134 commit 6bd2170
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci_linting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
5 changes: 5 additions & 0 deletions tests/integrationv2/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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.
"""
Expand Down

0 comments on commit 6bd2170

Please sign in to comment.