-
Notifications
You must be signed in to change notification settings - Fork 802
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
added jjbigorra and this maintainers packages (keuringsdienst, yggdrasil-schema) #7518
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you
@mihaimaruseac thank you! I am really happy to finally understand enough Haskell to make my own libraries, and to use Stack 😄 how can we get this PR merged? |
Sorry, I was waiting for the check job to finish and then I forgot to check it, started doing other things. Will merge it now. |
There are some test failures so I'll mark
Please fix tests and re-enable so you'd be notified if a dependency update under you starts breaking tests. |
Signed-off-by: Mihai Maruseac <[email protected]>
I appreciate it @mihaimaruseac ! I believe I fixed the tests in the latest version of |
It picked 1.0.0.5: https://www.stackage.org/nightly-2024-09-19/package/yggdrasil-schema-1.0.0.5 |
@mihaimaruseac thanks! I am really puzzled then why the tests fail. It must have to do with that the tests in Yggdrasil expect to be run from the root directory of the project, so that ./resources/test/migration-files is available. Where could I check in the Stackage CI how this is done, what is the "present working directory" or even better, what can i do to fix it :) |
To fix, can you make the test read the file using absolute path based on where the binary is? |
Thanks for the reply. Unfortunately I have no idea of how to do this, or if it even is possible to be honest. Does anybody have some tips? The real test of this tool is to "actually" read files from disk, so I can't think of a better way of doing this. It works perfectly fine in GitHub actions, due to the pwd I suppose. |
It's possible you will also need to flag |
Oh, I already did that. For testing with an absolute path, I think https://stackoverflow.com/questions/12361594/how-to-get-directory-of-executable-in-haskell would be helpful. I'm in airport now and cannot test myself :( |
Checklist:
add my-cool-package
(please don't mentionbuild-constraints.yml
)cabal update && cabal outdated
)The script runs virtually the following commands in a clean directory: