{"id":15603443,"url":"https://github.com/hidakatsuya/action-setup-redmine","last_synced_at":"2025-04-25T08:57:42.988Z","repository":{"id":239474772,"uuid":"799465738","full_name":"hidakatsuya/action-setup-redmine","owner":"hidakatsuya","description":"This action installs Redmine and sets up an environment to run tests. It is primarily aimed at providing an environment to run tests for Redmine plugins.","archived":false,"fork":false,"pushed_at":"2025-04-22T15:00:27.000Z","size":65,"stargazers_count":2,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-22T16:21:53.136Z","etag":null,"topics":["redmine","redmine-plugin"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/hidakatsuya.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-05-12T08:23:25.000Z","updated_at":"2025-04-22T15:00:29.000Z","dependencies_parsed_at":"2025-03-28T03:29:39.951Z","dependency_job_id":null,"html_url":"https://github.com/hidakatsuya/action-setup-redmine","commit_stats":null,"previous_names":["hidakatsuya/action-setup-redmine"],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hidakatsuya%2Faction-setup-redmine","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hidakatsuya%2Faction-setup-redmine/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hidakatsuya%2Faction-setup-redmine/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hidakatsuya%2Faction-setup-redmine/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hidakatsuya","download_url":"https://codeload.github.com/hidakatsuya/action-setup-redmine/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250590678,"owners_count":21455235,"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":["redmine","redmine-plugin"],"created_at":"2024-10-03T03:03:22.441Z","updated_at":"2025-04-24T08:25:25.289Z","avatar_url":"https://github.com/hidakatsuya.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Setup Redmine\n\n[![Build](https://github.com/hidakatsuya/action-setup-redmine/actions/workflows/build.yml/badge.svg?branch=main)](https://github.com/hidakatsuya/action-setup-redmine/actions/workflows/build.yml)\n\nThis action installs Redmine and sets up an environment to run tests. It is primarily aimed at providing an environment to run tests for Redmine plugins.\n\n## Usage\n\n```yaml\n- uses: hidakatsuya/action-setup-redmine@0147e23d3e5516edf2a0d2cca095570283ca81b4 # v2.0.0\n  with:\n    # Redmine repository to setup. Default is redmine/redmine.\n    repository: 'redmine/redmine'\n\n    # The branch, tag or commit to checkout. Default is master.\n    version: 'master'\n\n    # Database to use for testing. Possible values are sqlite3 or\n    # PostgreSQL and MySQL Docker official image tags (e.g. postgres:14, mysql:8.1.0). Default is sqlite3\n    database: 'sqlite3'\n\n    # Ruby version to use for testing. See ruby/setup-ruby's ruby-version input for available versions.\n    ruby-version: '3.3'\n\n    # Directory to setup Redmine. Default is the current directory.\n    path: '.'\n```\n\nSee also [action.yml](./action.yml).\n\n## Supported Redmine version\n\nv5.0 or later\n\nIf you want to use it with Redmine v4.2, you can use `v1`.\n\n## Example\n\n### Setting up [RedMica](https://github.com/redmica/redmica)\n\n```yaml\n- uses: hidakatsuya/action-setup-redmine@0147e23d3e5516edf2a0d2cca095570283ca81b4 # v2.0.0\n  with:\n    repository: 'redmine/redmine'\n    version: 'v6.0.1'\n    database: 'postgres:14'\n    ruby-version: '3.3'\n```\n\n### Run a test for the Redmine plugin\n\nFor example, you are developing the `redmine_hello_world` plugin on GitHub repository. To run a test for that plugin in GitHub Action, do the following:\n\n```yaml\n- uses: hidakatsuya/action-setup-redmine@0147e23d3e5516edf2a0d2cca095570283ca81b4 # v2.0.0\n  with:\n    ruby-version: '3.3'\n\n- uses: action/checkout@v4\n  with:\n    path: plugins/redmine_hello_world\n\n- run: |\n    bundle install\n    bin/rails redmine:plugins:test NAME=redmine_hello_world\n```\n\n## Versioning\n\nThis action follows [the recommendations of GitHub Actions Versioning](https://github.com/actions/toolkit/blob/master/docs/action-versioning.md).\n\n## Releasing\n\n1. Make sure CI for main branch has passed\n2. Create a new release to publish to the GitHub Marketplace\n3. Make sure that the release workflow has passed\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhidakatsuya%2Faction-setup-redmine","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhidakatsuya%2Faction-setup-redmine","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhidakatsuya%2Faction-setup-redmine/lists"}