Skip to content
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

Closed
wants to merge 39 commits into from

Conversation

CYX22222003
Copy link

@CYX22222003 CYX22222003 commented Feb 8, 2025

Proposed commit message

Separate CI tests and deployment

This is to enable CI tests for PR and 
separate the deployment of pages and testing.

@CYX22222003 CYX22222003 changed the title Add ci checks [#2285] Add CI checks Feb 9, 2025
@CYX22222003 CYX22222003 marked this pull request as ready for review February 9, 2025 00:08
@CYX22222003 CYX22222003 requested a review from gok99 February 9, 2025 00:09
@CYX22222003 CYX22222003 marked this pull request as draft February 9, 2025 06:09
@CYX22222003 CYX22222003 marked this pull request as ready for review February 9, 2025 06:17
@CYX22222003 CYX22222003 requested a review from gok99 February 9, 2025 06:17
test.sh Outdated
@@ -0,0 +1,5 @@
if ! ls ./reposense-report | grep -q "^index.html$"; then
Copy link
Contributor

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.

Copy link
Author

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.

Copy link
Contributor

@gok99 gok99 Feb 9, 2025

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.

Copy link
Author

Choose a reason for hiding this comment

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

OK, got it!

@CYX22222003 CYX22222003 marked this pull request as draft February 9, 2025 07:00
- remove unnecessary paths
- add checks for branches
@CYX22222003 CYX22222003 marked this pull request as ready for review February 9, 2025 07:55
@CYX22222003 CYX22222003 changed the title [#2285] Add CI checks [#2285] Split CI tasks Feb 9, 2025
@CYX22222003 CYX22222003 marked this pull request as draft February 9, 2025 08:06
@CYX22222003 CYX22222003 closed this Feb 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants