Skip to content

Commit

Permalink
test(generate_classes): skip on master and release branches (#1971)
Browse files Browse the repository at this point in the history
  • Loading branch information
wpbonelli authored Sep 30, 2023
1 parent 4b105e8 commit 1197094
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions autotest/test_generate_classes.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
from warnings import warn

import pytest
from modflow_devtools.misc import get_current_branch

branch = get_current_branch()


def nonempty(itr: Iterable):
Expand Down Expand Up @@ -56,6 +59,10 @@ def pytest_generate_tests(metafunc):
@pytest.mark.mf6
@pytest.mark.slow
@pytest.mark.regression
@pytest.mark.skipif(
branch == "master" or branch.startswith("v"),
reason="skip on master and release branches",
)
def test_generate_classes_from_github_refs(
request, virtualenv, project_root_path, ref, worker_id
):
Expand Down

0 comments on commit 1197094

Please sign in to comment.