hpi-swa / smalltalkCI

Framework for testing Smalltalk projects with GitHub Actions, GitLab CI, Travis CI, AppVeyor, and others.
MIT License
94 stars 68 forks source link

GToolkit - Add as Supported Platform #589

Closed seandenigris closed 1 year ago

seandenigris commented 1 year ago
seandenigris commented 1 year ago

Can someone resend me an invite to the repo? I accepted but it had already expired. Also, I tested this locally, but would someone more familiar with StCI internals have a look and see if it all makes sense? cc/ @fniephaus @girba

fniephaus commented 1 year ago

Can someone resend me an invite to the repo?

What kind of access do you need to the repo and what for?

I tested this locally, but would someone more familiar with StCI internals have a look and see if it all makes sense?

Seems ok so far. There's no point in running the tests though because you didn't add a GToolkit job to the build matrix. Can you do that please?

seandenigris commented 1 year ago

What kind of access do you need to the repo and what for?

Ha ha, don't know. Someone (I think you) had sent me an invitation which expired, so I thought maybe that was important, especially when I noticed I could not trigger CI on my PR without access. Since unfortunately it looks like I will be the GT support maintainer, whatever access level you think would be appropriate for that role, if any.

Seems ok so far. There's no point in running the tests though because you didn't add a GToolkit job to the build matrix. Can you do that please?

Sure, Any guidance on how to do that?

gcotelli commented 1 year ago

What kind of access do you need to the repo and what for?

Ha ha, don't know. Someone (I think you) had sent me an invitation which expired, so I thought maybe that was important, especially when I noticed I could not trigger CI on my PR without access. Since unfortunately it looks like I will be the GT support maintainer, whatever access level you think would be appropriate for that role, if any.

Seems ok so far. There's no point in running the tests though because you didn't add a GToolkit job to the build matrix. Can you do that please?

Sure, Any guidance on how to do that?

Edit .github/workflows/main.yml in your branch and add the GToolkit variants to the build matrix.

seandenigris commented 1 year ago

Edit .github/workflows/main.yml in your branch and add the GToolkit variants to the build matrix.

Okay, done

fniephaus commented 1 year ago

Since unfortunately it looks like I will be the GT support maintainer, whatever access level you think would be appropriate for that role, if any.

It's unfortunate you think this is unfortunate. :wink: Once you've contributed a PR, the tests will run automatically for your PRs and you can always run the tests in your fork. So for the time being, I don't see why you'd need any additional permissions, unless you want to maintain more than the GT integration. :sweat_smile:

fniephaus commented 1 year ago

I just triggered the builds for this PR and then this happens. :shrug:

seandenigris commented 1 year ago

It's unfortunate you think this is unfortunate. 😉

Ha ha just being dramatic. No big deal

Once you've contributed a PR, the tests will run automatically for your PRs and you can always run the tests in your fork.

Aha. Okay. Running the test for my PR was the issue, so that’s good news. So for the time being, I don't see why you'd need any additional permissions, unless you want to maintain more than the GT integration. 😅

Sounds like we’re all good then

seandenigris commented 1 year ago

I just triggered the builds for this PR and then this happens. 🤷

Looks like it’s resolved

fniephaus commented 1 year ago

Since you complained about writing some Bash, I took care of the JavaScript part for all of this: https://github.com/hpi-swa/setup-smalltalkCI/commit/4d1933c92141eed4cd1b869ce216357ed33410ad.

Nonetheless, there is a test failure:

SmalltalkCIPharoTest
 ✗ #testPromptToProceed (5506ms)
SubclassResponsibility: RustWindowingWorldRenderer class had the subclass responsibility to implement #isApplicableFor:
RustWindowingWorldRenderer class(Object)>>subclassResponsibility
RustWindowingWorldRenderer class(AbstractWorldRenderer class)>>isApplicableFor:
[ :aClass | aClass isApplicableFor: aWorld ] in AbstractWorldRenderer class>>detectCorrectOneForWorld:
[ :each | 
            (aBlock value: each)
                ifTrue: [ ^ foundBlock cull: each ] ] in OrderedCollection(Collection)>>detect:ifFound:ifNone:
OrderedCollection>>do:
OrderedCollection(Collection)>>detect:ifFound:ifNone:
OrderedCollection(Collection)>>detect:ifFound:
AbstractWorldRenderer class>>detectCorrectOneForWorld:
MorphicUIManager>>activate
UIManager class>>default:
SmalltalkCIPharoTest>>testPromptToProceed ...default: MorphicUIManager new
SCICoverageWrapper>>run:with:in:
SmalltalkCIPharoTest(Object)>>perform:
SmalltalkCIPharoTest(TestCase)>>performTest

https://github.com/hpi-swa/smalltalkCI/actions/runs/4321917736/jobs/7543790478#step:4:1352

seandenigris commented 1 year ago

Since you complained about writing some Bash, I took care of the JavaScript part for all of this

Ha ha thanks. See sometimes complaining works

Nonetheless, there is a test failure:

I’m not sure how to fix that. I reported it on GT’s Discord. Hopefully someone at feenk will weigh in

seandenigris commented 1 year ago

Nonetheless, there is a test failure: SmalltalkCIPharoTest ✗ #testPromptToProceed (5506ms)

Per @chisandrei on GT Discord:

Right at moment we are doing a larger pass on the graphical stack for linux. Not sure if this error is related, but should be easier to debug after that pass is done

The issue for the above mentioned graphical stack pass is https://github.com/feenkcom/gtoolkit/issues/3107

In the meantime, I can have a look. Any tips for how I might easily reproduce this locally?

seandenigris commented 1 year ago

https://github.com/feenkcom/gtoolkit/issues/3107 is closed. @fniephaus can you rerun the CI/tests? Perhaps we’ll get a better result!

fniephaus commented 1 year ago

Any tips for how I might easily reproduce this locally?

Clone the smalltalkCI repo and run what runs on GitHub Actions: https://github.com/hpi-swa/smalltalkCI/blob/5642d387607b29c144aa0b1fc3c4a61bd2894c52/.github/workflows/main.yml#L80

Add --headfull for access to the UI.

can you rerun the CI/tests? Perhaps we’ll get a better result!

Sure, but unfortunately still failing.

fniephaus commented 1 year ago

I wouldn't mind skipping the test when running on GToolkit.

fniephaus commented 1 year ago

I've disabled the test on GToolkit and renamed GToolkit-release to GToolkit64-release. If you like, we can merge this now.

seandenigris commented 1 year ago

Thanks! Yes I’d like to start using this and we can evolve as needed