Skip to content

respect aliases SKIP when installing environments#2479

Closed
kmARC wants to merge 1 commit intopre-commit:mainfrom
kmARC:main
Closed

respect aliases SKIP when installing environments#2479
kmARC wants to merge 1 commit intopre-commit:mainfrom
kmARC:main

Conversation

@kmARC
Copy link
Copy Markdown
Contributor

@kmARC kmARC commented Aug 10, 2022

Fixes #2478

Copy link
Copy Markdown
Member

@asottile asottile left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just future open source advice, don't make PRs from your main branch as it makes it significantly more difficult to review / fix

Comment on lines 644 to +650

ret, printed = _do_run(
cap_out, store, repo_with_passing_hook,
run_opts(all_files=True),
{'SKIP': 'skipme-1'},
)
assert ret == 1
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this test now validates two separate things -- it should be two separate tests

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just future open source advice, don't make PRs from your main branch as it makes it significantly more difficult to review / fix

Sure. I was in the gerrit workflow mindset.

I can put it in a separate test method.

I see the CI failing, should I rebase on v2.20.0 or is this fine?

@kmARC
Copy link
Copy Markdown
Contributor Author

kmARC commented Aug 11, 2022

I am closing this PR and will open one from our company GH account.

@kmARC kmARC closed this Aug 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

SKIP skips invocation by alias but doesn't skip "Installing environment"

2 participants