Skip to content

Add test cabal install remote-pkg for #9697 - #9707

Merged
mergify[bot] merged 1 commit into
haskell:masterfrom
alt-romes:wip/romes/9697-nonlocal-test
Feb 18, 2024
Merged

mergify[bot] merged 1 commit into
haskell:masterfrom
alt-romes:wip/romes/9697-nonlocal-test

Conversation

@alt-romes

@alt-romes alt-romes commented Feb 12, 2024 •

Copy link
Copy Markdown
Collaborator

In #9697 we fixed passing local options to cabal install targets, but rebasing accidentally dropped one of the added the tests for that PR which tested cabal install target, where target was only available from a remote repository.

@andreabedini

Copy link
Copy Markdown
Collaborator

But cabal install hindent currently fails on master (0a0b339), so why does the test pass?

@mpickering

Copy link
Copy Markdown
Collaborator

But cabal install hindent currently fails on master (0a0b339), so why does the test pass?

Because it is still run in a context with a project file I think.

@ulysses4ever ulysses4ever left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Thanks for spotting it!

@andreabedini

Copy link
Copy Markdown
Collaborator

@mpickering gotcha. It would be worth adding a test for the non-project case then; so we don't get bitten by it again.

@alt-romes alt-romes added the merge me Tell Mergify Bot to merge label Feb 16, 2024
@mergify mergify Bot added the merge delay passed Applied (usually by Mergify) when PR approved and received no updates for 2 days label Feb 18, 2024
In haskell#9697 we fixed passing local options to cabal install targets, but
rebasing accidentally dropped one of the added the tests for that PR,
which tested cabal install <target>, where <target> was only available
from a remote repository.
@Mikolaj
Mikolaj force-pushed the wip/romes/9697-nonlocal-test branch from d0bf8f3 to b1ff71f Compare February 18, 2024 10:58
@mergify
mergify Bot merged commit 2acae63 into haskell:master Feb 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merge delay passed Applied (usually by Mergify) when PR approved and received no updates for 2 days merge me Tell Mergify Bot to merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants