Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test(generate_classes): skip on master and release branches #1971

Merged
merged 1 commit into from
Sep 30, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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