Skip to content

Commit

Permalink
restrict + add test
Browse files Browse the repository at this point in the history
  • Loading branch information
lrstewart committed Dec 11, 2023
1 parent 4faa134 commit 4a5745b
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 @@ -81,7 +81,7 @@ jobs:
id: autopep8
uses: peter-evans/autopep8@v2
with:
args: --recursive --diff --exit-code .
args: --recursive --diff --exit-code ./tests/integrationv2
- name: Fail if autopep8 made changes
if: steps.autopep8.outputs.exit-code != 0
run: exit 1
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 4a5745b

Please sign in to comment.