Skip to content

Commit

Permalink
Enable gametests
Browse files Browse the repository at this point in the history
  • Loading branch information
rubensworks committed Oct 12, 2024
1 parent 1498be7 commit 114c93e
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 8 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,6 @@ jobs:
if: ${{ env.COVERALLS_REPO_TOKEN }}
run: ./gradlew test jacocoTestReport coveralls
- name: 'Game Test'
env:
GAME_TEST: ${{ secrets.GAME_TEST }}
if: ${{ env.GAME_TEST }}
run: ./gradlew runGameTestServer
- name: 'Deploy as GitHub CI artifacts'
uses: actions/upload-artifact@v4
Expand Down
6 changes: 3 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -147,16 +147,16 @@ runs {
}

client {
systemProperty 'forge.enabledGameTestNamespaces', project.mod_id
systemProperty 'neoforge.enabledGameTestNamespaces', "cyclopscore,${mod_id}"
}

server {
systemProperty 'forge.enabledGameTestNamespaces', project.mod_id
systemProperty 'neoforge.enabledGameTestNamespaces', "cyclopscore,${mod_id}"
programArgument '--nogui'
}

gameTestServer {
systemProperty 'forge.enabledGameTestNamespaces', project.mod_id
systemProperty 'neoforge.enabledGameTestNamespaces', "cyclopscore,${mod_id}"
}

data {
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ minecraft_version=1.21.1
neoforge_version=21.1.2
parchment_version=2024.07.07
parchment_minecraft_version=1.21
cyclopscore_version=1.20.0-568
cyclopscore_version=1.25.1-627
integrateddynamics_version=1.23.2-832
release_type=release
fingerprint=bd0353b3e8a2810d60dd584e256e364bc3bedd44
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/META-INF/neoforge.mods.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Create scripts for handling operations in Integrated Dynamics.
[[dependencies.integratedscripting]]
modId="cyclopscore"
type="required"
versionRange="[1.20.0,)"
versionRange="[1.25.1,)"
ordering="NONE"
side="BOTH"
[[dependencies.integratedscripting]]
Expand Down

0 comments on commit 114c93e

Please sign in to comment.