{"id":17012809,"url":"https://github.com/geometrically/fabric-test-runner","last_synced_at":"2025-03-22T16:31:06.314Z","repository":{"id":40720552,"uuid":"259172751","full_name":"Geometrically/fabric-test-runner","owner":"Geometrically","description":"A test runner for mods using the fabric framework allowing for Minecraft Mods to use CI/CD!","archived":false,"fork":false,"pushed_at":"2023-01-04T15:06:06.000Z","size":392,"stargazers_count":23,"open_issues_count":14,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-01T17:37:45.263Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Geometrically.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-04-27T01:26:43.000Z","updated_at":"2024-12-31T02:43:07.000Z","dependencies_parsed_at":"2023-01-05T13:16:56.997Z","dependency_job_id":null,"html_url":"https://github.com/Geometrically/fabric-test-runner","commit_stats":{"total_commits":8,"total_committers":2,"mean_commits":4.0,"dds":0.125,"last_synced_commit":"98ad08f82d39a246b63423bb2e5dfa2b1c6bcf4b"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Geometrically%2Ffabric-test-runner","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Geometrically%2Ffabric-test-runner/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Geometrically%2Ffabric-test-runner/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Geometrically%2Ffabric-test-runner/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Geometrically","download_url":"https://codeload.github.com/Geometrically/fabric-test-runner/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244231791,"owners_count":20419999,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-14T06:11:33.179Z","updated_at":"2025-03-22T16:31:05.946Z","avatar_url":"https://github.com/Geometrically.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Fabric Test Runner\n\nWelcome to the Fabric Test Runner, a custom GitHub action created for Fabric mods to easily run tests! \n\n#### Currently Supported Tests:\n- Gradle Build Test\n- Gradle Run Server\n\n## Usage\n\nNot used to actions? Create a file in ./github/workflows called main.yml . Set the yaml file to the example below!\n\nUsing the Fabric Test Runner is extremely simple. Here's some simple functionality, testing the mod on 20w17a, and\nuploading the build artifacts!\n\n```yaml\nname: Fabric CI\n\non:\n  push:\n    branches: [ master ]\n  pull_request:\n    branches: [ master ]\n\njobs:\n  runTests:\n    runs-on: ubuntu-latest\n\n    steps:\n    - name: \"Checkout Project\"\n      uses: actions/checkout@v2\n      with:\n        lfs: true\n\n    - name: \"Run Fabric Tests\"\n      uses: Geometrically/fabric-test-runner@v1\n      with:\n        minecraftVersion: 20w17a\n    \n    - name: \"Upload Artifact\"\n      uses: actions/upload-artifact@v1\n      with:\n        name: Builds\n        path: build/libs\n```\n\nWant some more advanced functionality? Below is the Fabric Test Runner running tests for 1.15.2 and the latest version.\n\n```yaml\nname: Fabric CI\n\non:\n  push:\n    branches: [ master ]\n  pull_request:\n    branches: [ master ]\n\njobs:\n  buildAndRunForSomeVersions:\n      name: Run tests for ${{ matrix.minecraftVersion }}\n      runs-on: ubuntu-latest\n      strategy:\n        fail-fast: false\n        matrix:\n          minecraftVersion:\n            - 1.15.2\n            - latest\n      steps:\n        - uses: actions/checkout@v2\n          with:\n            lfs: true\n        - uses: Geometrically/fabric-test-runner@v1\n          id: testRunner\n          with:\n            minecraftVersion: ${{ matrix.minecraftVersion }}\n        - uses: actions/upload-artifact@v1\n          with:\n            name: Builds\n            path: build/libs\n```\n\nOther options:\n\nThe Fabric Test Runner several other options that were not used in the examples:\n- `runBuildTest` (true/false) - Whether the action should run the build test\n- `runServerTest` (true/false) - Whether the action should run the server test. Useful for client-only mods.\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeometrically%2Ffabric-test-runner","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgeometrically%2Ffabric-test-runner","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeometrically%2Ffabric-test-runner/lists"}