MovingBlocks / Terasology

Terasology - open source voxel world
http://terasology.org
Apache License 2.0
3.69k stars 1.34k forks source link

build(ci): Basic Gradle workflow to build on Github #5134

Closed skaldarnar closed 1 year ago

skaldarnar commented 1 year ago

Contains

A Github workflow to build, test, and analyze the code.

Uses Gradle Build Scans for reporting, see https://docs.gradle.com/enterprise/gradle-plugin/#connecting_to_scans_gradle_com (automatically accepted for CI runs, but no for local runs).

How to test

Additional Tasks

skaldarnar commented 1 year ago

At least locally, the integration tests were successful with cf0d2ae

skaldarnar commented 1 year ago

Hm, I have no clue about the failing tests :pensive:

In https://github.com/MovingBlocks/Terasology/actions/runs/6066596499/job/16457362691?pr=5134

 ExampleTest > testSendEvent() FAILED
    java.lang.RuntimeException at ExampleTest.java:65

170 tests completed, 1 failed, 10 skipped

In https://github.com/MovingBlocks/Terasology/actions/runs/6066441235/job/16457033053

 DelayManagerTest > delayedActionIsTriggeredTest(ModuleTestingHelper) FAILED
    java.lang.RuntimeException at DelayManagerTest.java:40

ExampleTest > testClientConnection() FAILED
    java.lang.RuntimeException at ExampleTest.java:42

170 tests completed, 2 failed, 10 skipped

In https://github.com/MovingBlocks/Terasology/actions/runs/6066440639/job/16457031736

 ExampleTest > testClientConnection() FAILED
    java.lang.RuntimeException at ExampleTest.java:42

ExampleTest > testSendEvent() FAILED
    java.lang.RuntimeException at ExampleTest.java:65

170 tests completed, 2 failed, 10 skipped
jdrueckert commented 1 year ago

testSendEvent has been failing every now and then for a while now if you look at the past commits...

skaldarnar commented 1 year ago

Jenkins is working at the moment, so I don't think we have a need to get this merged. Two different pipelines at the same time don't make much sense, thus, closing this PR.