-
Notifications
You must be signed in to change notification settings - Fork 13
Ensure file is relative to GITHUB_WORKSPACE.
#4
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
Ensure file is relative to GITHUB_WORKSPACE.
#4
Conversation
|
@StefSchenkelaars, could you have a look at this and the other open pull request? Thanks. |
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.
@reitermarkus Thanks for the mention, I indeed missed them. And thanks for the PR.
The main thing here are tests. Could you add some test cases validating that this works.
|
Simplified the implementation and added some tests. |
8173ca3 to
2e0316e
Compare
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.
Hi @reitermarkus, thanks for the update, looks good!
So I was thinking on how to validate that this actually works. I've now added an e2e GitHub action to the ci workflow. It basically runs the bundle exec rspec spec/integration command. So if you now look in the files changed of this PR, you can see that it works for the case without these relative paths. (note that I merged master into your branch).
So if you feel like it, you can add an end 2 end test with a relative path to really ensure that it works but if not, you can merge it (it's approved).
I actually can't because I don't have rights on this repo. |
|
@reitermarkus It's merged and I've released version 2.2.0 |
When running
rspecin a subdirectory, no annotations are shown currently, sincefilehas to be relative to theGITHUB_WORKSPACE.