-
Notifications
You must be signed in to change notification settings - Fork 115
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
[#2285] Split CI tasks #19
Conversation
… into add-ci-checks
test.sh
Outdated
@@ -0,0 +1,5 @@ | |||
if ! ls ./reposense-report | grep -q "^index.html$"; then |
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.
This feels a little bit superficial, and with extensive tests on the main reposense project, doesn't seem entirely necessary.
If there isn't something substantial here that isn't subsumed by the main reposense tests, let's remove this for now.
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.
This is my attempt to address the requirement of automating the testing of deployments mentioned in this issue. I am not sure whether the "testing" mentioned in the issue is referring to a pre-deployment or post-deployment testing.
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.
I think it refers to being able to test for things like empty reports in the deployed site (when it should not be).
However, the test here wouldn't be able to check for this, and it wouldn't be visible from the main repository. Let's add testing incrementally, and see if there something substantial to test in a separate PR.
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.
OK, got it!
- remove unnecessary paths - add checks for branches
Proposed commit message